From 289a7ada442111517c322ac2dcccf9bb4557ad6b Mon Sep 17 00:00:00 2001 From: Wojciech Tyczynski Date: Mon, 12 Dec 2016 16:10:38 +0100 Subject: [PATCH] Increase GCE operation timeout --- pkg/cloudprovider/providers/gce/gce.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/cloudprovider/providers/gce/gce.go b/pkg/cloudprovider/providers/gce/gce.go index 64d7651ed08..dfc7904019d 100644 --- a/pkg/cloudprovider/providers/gce/gce.go +++ b/pkg/cloudprovider/providers/gce/gce.go @@ -63,8 +63,9 @@ const ( // AffinityTypeClientIPProto - affinity based on Client IP and port. gceAffinityTypeClientIPProto = "CLIENT_IP_PROTO" - operationPollInterval = 3 * time.Second - operationPollTimeoutDuration = 30 * time.Minute + operationPollInterval = 3 * time.Second + // Creating Route in very large clusters, may take more than half an hour. + operationPollTimeoutDuration = time.Hour // Each page can have 500 results, but we cap how many pages // are iterated through to prevent infinite loops if the API