зеркало из https://github.com/Azure/aks-engine.git
increase wait time for node readiness to 15 mins (#1537)
* increase wait time for node readiness to 15 mins * using cfg.Timeout so timeout is configurable
This commit is contained in:
Родитель
9cf7f62609
Коммит
e19d2a742f
|
@ -84,7 +84,7 @@ func main() {
|
|||
os.Setenv("KUBECONFIG", cfg.GetKubeConfig())
|
||||
log.Printf("Kubeconfig:%s\n", cfg.GetKubeConfig())
|
||||
log.Println("Waiting on nodes to go into ready state...")
|
||||
ready := node.WaitOnReady(eng.NodeCount(), 10*time.Second, 10*time.Minute)
|
||||
ready := node.WaitOnReady(eng.NodeCount(), 10*time.Second, cfg.Timeout)
|
||||
if ready == false {
|
||||
teardown()
|
||||
log.Fatalf("Error: Not all nodes in ready state!")
|
||||
|
|
Загрузка…
Ссылка в новой задаче