1

Auto scaler failing with the below error.

Procedure followed for here

aws_cloud_provider.go:369] Failed to generate AWS EC2 Instance Types: WebIdentityErr: failed to retrieve credentials

cluster autoscaler failed to generate aws ec2 instance types: unable to load ec2 instance type list
JRD
  • 849
  • 7
  • 14

1 Answers1

2

Add "ec2:DescribeInstanceTypes" permission to your <AmazonEKSClusterAutoscalerPolicy> IAM policy. Then restart the Autoscaller deployment.

kubectl -n kube-system rollout restart deployment.apps/cluster-autoscaler

This worked for me.

Mithun Biswas
  • 1,617
  • 1
  • 12
  • 19