IRSA or EKS Pod Identity for new clusters?
IntermediateProductionEKS in Production
Answer
Pod Identity for new EC2-based clusters: no per-cluster OIDC provider, no trust policy edits with cluster-specific OIDC URLs, the same role can be reused across clusters, and session tags (cluster, namespace, service account) enable ABAC. You install the eks-pod-identity-agent add-on and create associations:
aws eks create-pod-identity-association --cluster-name prod \
--namespace orders --service-account orders-api \
--role-arn arn:aws:iam::111122223333:role/orders-api
The role trusts pods.eks.amazonaws.com with sts:AssumeRole and sts:TagSession. Keep IRSA for Fargate pods and for tooling that does not yet support Pod Identity.
More on EKS in Production
Managed node groups, self-managed nodes, Fargate, Karpenter or Auto Mode: how do you choose?IntermediateHow do you design Karpenter NodePools for production?AdvancedHow do you manage who can access the EKS API?IntermediateHow do you run EKS version upgrades safely?AdvancedWhat happens if you stay on an old EKS version?BeginnerWhich node OS do you use for EKS and why?Intermediate