Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 15910

Pod is using node group role instead of service account in aws eks with an up to date AWS SDK

$
0
0

my pods are using the node group role instead of the role defined by the service account. The service account configuration seems to be right because when I run kubectl exec pod_name -- env | grep AWS AWS_ROLE_ARN and AWS_WEB_IDENTITY_TOKEN_FILE env variables are correct.

I'm using AWS Java sdk version 1.12.233 which should support service accounts. Still according to the logs of my app, the node group role is used. The cluster runs Kubernetes 1.22

Any idea what could be the matter?


Viewing all articles
Browse latest Browse all 15910


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>