Skip to content

Commit

Permalink
Increase provisioner await retry time (#4807)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspersjo authored May 2, 2024
1 parent c807ff8 commit 3335882
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/provisioner/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ func (p *KubernetesProvisioner) AwaitReady(ctx context.Context, provisionID stri

// As a final step we make sure the runtime can be reached, we retry on failure, to account for potential small delays in network config propagation
retryClient := retryablehttp.NewClient()
retryClient.RetryMax = 3
retryClient.RetryWaitMin = 1 * time.Second
retryClient.RetryWaitMax = 3 * time.Second
retryClient.RetryMax = 5
retryClient.RetryWaitMin = 2 * time.Second
retryClient.RetryWaitMax = 10 * time.Second
retryClient.Logger = nil // Disable inbuilt logger
pingURL, err := url.JoinPath(p.getHost(provisionID), "/v1/ping")
if err != nil {
Expand Down

0 comments on commit 3335882

Please sign in to comment.