Interview Prep/AWS/EKS in Production

How do you enforce policies on EKS workloads?

AdvancedProductionEKS in Production
Answer

Pod Security Admission labels (pod-security.kubernetes.io/enforce: restricted) on namespaces for baseline pod hardening, plus a policy engine (Kyverno or OPA Gatekeeper) for organization rules: images only from your ECR registry, required labels, no latest tag, resource requests set, signed images verified (Kyverno verifyImages with Notation or cosign). Run in audit mode first, then enforce. Pair with GuardDuty EKS Protection and Runtime Monitoring for detection.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on EKS in Production