Policy-as-Code: Choosing the Right Engine for Effective Validation
summary
Compares policy engines (OPA, Kyverno/JSON, Kubewarden) for validating and enforcing policies on Kubernetes and arbitrary JSON payloads (Terraform plans, Dockerfiles, cloud configs). Examines language design, evaluation semantics, performance, developer tooling (testing, composition, debugging), and emerging trends like WASM and shift-left validation to help choose the right engine and avoid production pitfalls.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:05What are policies and engines
- 2:31OPA Gatekeeper overview
- 3:16Kyverno overview
- 4:20Kubewarden overview
- 5:20Beyond Kubernetes
- 6:43HTTP policy servers
- 7:27OPA demo
- 9:35Kyverno JSON demo
- 11:00Kubewarden demo
- 12:53HTTP server limits
- 13:36Testing policies
- 14:59Distributing policies
- 16:46Comparison and closing
- 17:06Q&A
