concept

EKS identity network and storage

EKS Pod Identity associates a namespace and ServiceAccount with an IAM role, using the supported EKS credential delivery mechanism and compatible SDK. For conventional EC2 nodes, verify the Pod Identity Agent; Auto Mode integrates this capability. EKS Pod Identity is not supported on Fargate. IRSA (IAM roles for service accounts) instead relies on an IAM OIDC provider, a matching role trust policy and projected service-account credentials. Do not copy long-lived AWS keys into a Secret or assume node credentials are automatically inaccessible. Review the SDK credential chain and metadata access restrictions. The example is a Kubernetes object only; the fictional role does not exist.

Formal Syntax & Structure

kubernetes syntaxkubernetes
apiVersion: v1kind: ServiceAccountmetadata:  name: catalog-reader  namespace: bookstore-lab  annotations:    eks.amazonaws.com/role-arn: arn:aws:iam::111122223333:role/fictional-catalog-reader

Working Example

Example Snippetkubernetes
free IPv4 slots 40 - reserve 10 = 30 planning slotsprojected 24 additional allocations -> 6 slots remain above reserve
Kubernetes Reference