Skip to content

Commit

Permalink
perf: do not diagnose external access
Browse files Browse the repository at this point in the history
When nodes cannot access external network, it will block the installation diagnose all check.
  • Loading branch information
oilbeater committed Sep 14, 2021
1 parent 6bc241f commit c79244f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/pinger/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func ParseFlags() (*Configuration, error) {
argMode = pflag.String("mode", "server", "server or job Mode")
argExitCode = pflag.Int("exit-code", 0, "exit code when failure happens")
argInternalDns = pflag.String("internal-dns", "kubernetes.default", "check dns from pod")
argExternalDns = pflag.String("external-dns", "alauda.cn", "check external dns resolve from pod")
argExternalAddress = pflag.String("external-address", "114.114.114.114", "check ping connection to an external address, default: 114.114.114.114")
argExternalDns = pflag.String("external-dns", "", "check external dns resolve from pod")
argExternalAddress = pflag.String("external-address", "", "check ping connection to an external address, default: 114.114.114.114")
argNetworkMode = pflag.String("network-mode", "kube-ovn", "The cni plugin current cluster used, default: kube-ovn")

argPollTimeout = pflag.Int("ovs.timeout", 2, "Timeout on JSON-RPC requests to OVS.")
Expand Down

0 comments on commit c79244f

Please sign in to comment.