mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
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:
parent
9a5b87a58b
commit
3bb3db1d36
@ -112,7 +112,7 @@ func GetNodeHostIP(node *v1.Node) (net.IP, error) {
|
|||||||
func GetNodeIP(client clientset.Interface, hostname string) net.IP {
|
func GetNodeIP(client clientset.Interface, hostname string) net.IP {
|
||||||
var nodeIP net.IP
|
var nodeIP net.IP
|
||||||
backoff := wait.Backoff{
|
backoff := wait.Backoff{
|
||||||
Steps: 5,
|
Steps: 6,
|
||||||
Duration: 1 * time.Second,
|
Duration: 1 * time.Second,
|
||||||
Factor: 2.0,
|
Factor: 2.0,
|
||||||
Jitter: 0.2,
|
Jitter: 0.2,
|
||||||
|
Loading…
Reference in New Issue
Block a user