Interview Prep/DevSecOps/Kubernetes Security Posture

Kyverno, OPA Gatekeeper or ValidatingAdmissionPolicy: how do you choose?

IntermediateProductionKubernetes Security Posture
Answer
Option Strengths Weak points
ValidatingAdmissionPolicy (CEL, GA in 1.30) Built in, no webhook, fast, no extra pods to fail Validation only, no mutation (MutatingAdmissionPolicy is newer), limited external data
Kyverno YAML policies, validate + mutate + generate + verify images, policy reports Webhook availability matters; large policy sets cost memory
Gatekeeper Rego, very expressive, shared with other OPA uses Rego learning curve, validation-focused

Our default: VAP for simple, high-volume checks; Kyverno where we need mutation, resource generation or image signature verification. Gatekeeper makes sense if the organisation already standardised on Rego.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Kubernetes Security Posture