Increase route53 retry count from 3 to 5

Hoping to fix failures like this: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-aws-distro-imagecentos8/1370176524702978048
This commit is contained in:
Peter Rifel 2021-03-11 22:15:53 -06:00
parent ed9da0075d
commit e624aeb102
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ func newRoute53(config io.Reader) (*Interface, error) {
// e.g. https://github.com/kubernetes/kops/issues/605
awsConfig = awsConfig.WithCredentialsChainVerboseErrors(true)
// To avoid API throttling on busier accounts
awsConfig = awsConfig.WithMaxRetries(5)
sess, err := session.NewSession()
if err != nil {
return nil, err