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