The application discloses a kind of network fault self-repairing method and
system based on cloud native, by starting
detector to target network equipment is detected, starting
network detector detection, if
network detector continues to block, then the
network detector continues to detect;If the network
detector blocking ends, then reselect connection and switch, and in the starting network
detector detection, whether current detector is in
default gateway device, if not, then start
recovery detector detection, judge whether
default gateway device network is accessible, if yes, then switch connection to
default gateway device.By the scheme of the present application, when the default network exit of cluster fails, the access of cluster to outside is interrupted, the optimal network exit is selected, and the normal access of cluster to outside is ensured;When the default network exit is removed, the network exit needs to be restored to the initial state, and other exit bandwidth is not occupied any more, to achieve a kind of network fault self-repairing function.