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.
More on Kubernetes Security Posture
What is your security baseline for a new production EKS cluster?IntermediateDraw the layered security controls for workloads on Kubernetes.BeginnerHow do you assign Pod Security Admission levels across namespaces in production?BeginnerShow a ValidatingAdmissionPolicy that blocks containers without resource limits.AdvancedHow do you roll out default-deny NetworkPolicies in a running production cluster?IntermediateFalco or Tetragon for runtime security: how do you choose and run it?Advanced