From af624a9eb72d475f2ddeaf1a1746d047b9b35d19 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Tue, 22 Jan 2019 13:41:52 -0700 Subject: [PATCH] Wait for kube-apiserver for 2 minutes for slow (ARM) systems --- cmd/kube-controller-manager/app/controllermanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kube-controller-manager/app/controllermanager.go b/cmd/kube-controller-manager/app/controllermanager.go index 39bdcdc805d..8aa1d107d79 100644 --- a/cmd/kube-controller-manager/app/controllermanager.go +++ b/cmd/kube-controller-manager/app/controllermanager.go @@ -632,7 +632,7 @@ func CreateControllerContext(ctx context.Context, s *config.CompletedConfig, roo // If apiserver is not running we should wait for some time and fail only then. This is particularly // important when we start apiserver and controller manager at the same time. - if err := genericcontrollermanager.WaitForAPIServer(versionedClient, 10*time.Second); err != nil { + if err := genericcontrollermanager.WaitForAPIServer(versionedClient, 120*time.Second); err != nil { return ControllerContext{}, fmt.Errorf("failed to wait for apiserver being healthy: %v", err) }