-
Notifications
You must be signed in to change notification settings - Fork 97
Adapter pod not able to connect to Ec2Metadata #43
Comments
Hi @zeu5 which version of the adapter are you using? |
We encounter this error when using a much older version
The region does not get picked up when we use the latest image
|
Hi @chankh, we tried using
|
Do you have anything that blocks the container from calling EC2 metadata API? The adapter retrieves the region ID using the EC2 metadata API at How did you set the |
Hi @chankh, we had set the
inside the spec of container solves the issue. We have currently solved the |
You are right, I forgot to commit the changes after adding the security context for my local deployment. Thanks for submitting that PR |
I'm running the CloudWatch adapter with IRSA configured. While other pods running on the node are able to access the metadata API, the pod running CloudWatch adapter throws the following error
We have set up IRSA with the required permissions. Since it is not able to connect to ec2metadata API, the region is also not picked
Setting
AWS_REGION
does not solve the issue eitherThe text was updated successfully, but these errors were encountered: