Adjust wait timeout

pull/11632/head
Ilya Zuyev 2021-06-21 19:05:39 -07:00
parent a6a0791222
commit fc130d781a
1 changed files with 1 additions and 1 deletions

View File

@ -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)