Adjust wait timeout

pull/11632/head
Ilya Zuyev 2021-06-21 20:02:51 -07:00
parent debf83c4b6
commit 2072affd4f
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 := 2000 * time.Millisecond
apiStatusTimeout := 3000 * time.Millisecond
st, err := kverify.WaitForAPIServerStatus(k.c, apiStatusTimeout, hostname, port)
if err != nil {
klog.Infof("needs reconfigure: apiserver error: %v", err)