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?
2 Answers
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.
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!
Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux