operation error Elastic Load Balancing v2: DescribeLoadBalancers, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded #3955
Labels
Describe the bug
A concise description of what the bug is.
When running the latest version chart 1.10.1 app version : v2.10.1 we are encountering:
the following error.
operation error Elastic Load Balancing v2: DescribeLoadBalancers, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded.
this seems to be related to the change to AWS SDK Go v2 version and looks like the code ignores the vcpId and region from the helm chart. "Instead of depending on IMDSv2, you can specify the AWS Region and the VPC via the controller flags --aws-region and --aws-vpc-id." the SDK looks to be always pulling the metadata. cloud.go
Steps to reproduce
install the latest version on a private cluster.
Expected outcome
A concise description of what you expected to happen.
That the service works
Environment
v2.10.1
1.29
Yes 1.29
Additional Context:
The text was updated successfully, but these errors were encountered: