Has Anyone Configured Pod Identity in EKS Auto Mode Successfully?

May 8, 2025 3 answers
Asked by fret2.bend
I'm trying to set up pod identity in EKS Auto Mode and I'm running into a roadblock. I followed the sample from the AWS GitHub repository but keep getting an access denied error when my API tries to access credentials. According to the documentation, the identity agent is already included in EKS Auto Mode, so I shouldn't need to install anything extra. I've checked the setup and everything seems fineโ€”my pod specs have the correct environment variables and associations set. However, the credential queries always fail with an access denied response. Has anyone else experienced this, or does anyone have suggestions?

Answers

beacon_310
I had the same issue and ended up rebuilding my cluster in auto mode. After that, the demo worked like a charm! Hereโ€™s the simple config I used: ```yaml # auto-mode-cluster.yaml apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name: auto-mode-cluster region: us-west-2 autoModeConfig: enabled: true ``` The original cluster set up via the UI seemed to have some issues. Rebuilding fixed everything!
Reply to this answer
accordion+case
I've encountered the same issue. The setup is virtually the same as with regular EKS, minus the need for the extra addon. Just double-check that your pod is correctly using the service account.
Reply to this answer
~not entirely convinced
First off, have a look at your trust policy for the role you're using. Sometimes there could be a small issue there that causes these access problems.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions