A Practical Guide To Kubernetes Policy as Code
Talkat KubeCon + CloudNativeCon Europe 2025 · on Wednesday, 2025-04-02· at 14:30· Level 3 | ICC Capital Suite 7-9·
summary
Practical steps and tradeoffs for running Policy as Code: use ValidatingAdmissionPolicy for fast, in-server checks and MutatingAdmissionPolicy (alpha) only when inline mutation is required; author expressions in CEL (recommended) or Rego and run them via OPA/Gatekeeper for audit, metrics, external-data lookups, or use Kyverno to auto-generate VAP/MAP, perform image validation with cosign/notary, background scans, exceptions and reporting. Kubernetes 1.33 status is current; keep mutation minimal.
AI-written summary · about
chapters (6)
- 0:00Kubernetes policy as code intro
- 2:50Why policy matters in Kubernetes
- 9:12Validating Admission Policy with CEL
- 17:27Gatekeeper for policy enforcement
- 25:31Summary on Kubernetes policy
- 27:40Q&A on policy performance
related talks
26mPolicy as Code: Past, Present and Future for Novice
27mPolicy Matters! The Why, What, and How of Kubernetes Policy Management
28mEmbracing change: Policy-as-code for Kubernetes with OPA and Gatekeeper
49mKubernetes Policy as Code with Kyverno
34mEmbracing Change, Policy as code for Kubernetes with OPA and Gatekeeper
35mHow to fight misconfiguration and bad intentions with Kubernetes admission policy
14mPolicy-as-code for Kubernetes with Gatekeeper
27mEmbracing change: Policy-as-code with OPA and Gatekeeper
