kubernetes / autoscaler

Autoscaling components for Kubernetes
Apache License 2.0
7.8k stars 3.87k forks source link

Moving from 1.29 -> 1.30 using helm chart, cluster autoscaler fails with NoCredentialProviders: no valid providers in chain #6982

Open zenbones opened 4 days ago

zenbones commented 4 days ago

With the cluster-autoscaler, using the helm chart (both 9.36.0 and 9.37.0), in AAWS EKS, the component works fine in k8s 1.29 and fails in k8s 1.30 with...

I0626 21:53:36.018910 1 aws_manager.go:79] AWS SDK Version: 1.48.7 E0626 21:53:39.180984 1 aws_manager.go:128] Failed to regenerate ASG cache: NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors F0626 21:53:39.181014 1 aws_cloud_provider.go:455] Failed to create AWS Manager: NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors

The yaml for the autoscaler component and the aws-auth config maps are identical in both k8s versions, only the autoscaler runs fine in 1.29.