Bumped the number of times a node tries to lookup itself

Increased the number of tries in pkg/util/node/node.go::GetNodeIP by
1, because the kube-proxy was giving up too early.

This is meant to address #81879
This commit is contained in:
Mike Spreitzer 2019-08-23 21:37:12 -04:00
parent 9a5b87a58b
commit 3bb3db1d36

View File

@ -112,7 +112,7 @@ func GetNodeHostIP(node *v1.Node) (net.IP, error) {
func GetNodeIP(client clientset.Interface, hostname string) net.IP {
var nodeIP net.IP
backoff := wait.Backoff{
Steps: 5,
Steps: 6,
Duration: 1 * time.Second,
Factor: 2.0,
Jitter: 0.2,