mirror of https://github.com/kubernetes/kops.git
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:
parent
ed9da0075d
commit
e624aeb102
|
|
@ -63,6 +63,9 @@ func newRoute53(config io.Reader) (*Interface, error) {
|
||||||
// e.g. https://github.com/kubernetes/kops/issues/605
|
// e.g. https://github.com/kubernetes/kops/issues/605
|
||||||
awsConfig = awsConfig.WithCredentialsChainVerboseErrors(true)
|
awsConfig = awsConfig.WithCredentialsChainVerboseErrors(true)
|
||||||
|
|
||||||
|
// To avoid API throttling on busier accounts
|
||||||
|
awsConfig = awsConfig.WithMaxRetries(5)
|
||||||
|
|
||||||
sess, err := session.NewSession()
|
sess, err := session.NewSession()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue