Adjust wait timeout
parent
a6a0791222
commit
fc130d781a
|
@ -569,7 +569,7 @@ func (k *Bootstrapper) needsReconfigure(conf string, hostname string, port int,
|
|||
return true
|
||||
}
|
||||
// cruntime.Enable() may restart kube-apiserver but does not wait for it to return back
|
||||
apiStatusTimeout := 1500 * time.Millisecond
|
||||
apiStatusTimeout := 2000 * time.Millisecond
|
||||
st, err := kverify.WaitForAPIServerStatus(k.c, apiStatusTimeout, hostname, port)
|
||||
if err != nil {
|
||||
klog.Infof("needs reconfigure: apiserver error: %v", err)
|
||||
|
|
Loading…
Reference in New Issue