зеркало из 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())
|
os.Setenv("KUBECONFIG", cfg.GetKubeConfig())
|
||||||
log.Printf("Kubeconfig:%s\n", cfg.GetKubeConfig())
|
log.Printf("Kubeconfig:%s\n", cfg.GetKubeConfig())
|
||||||
log.Println("Waiting on nodes to go into ready state...")
|
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 {
|
if ready == false {
|
||||||
teardown()
|
teardown()
|
||||||
log.Fatalf("Error: Not all nodes in ready state!")
|
log.Fatalf("Error: Not all nodes in ready state!")
|
||||||
|
|
Загрузка…
Ссылка в новой задаче