Policing Your Kubernetes Clusters with Open Policy Agent (OPA) - Mark Puddick & Amith Nambiar
summary
Open Policy Agent runs as an external policy engine hooked into the Kubernetes admission webhook and evaluates Rego policies stored as ConfigMaps; the demo shows a Rego rule that blocks images not from myregistry.io, a rule that rejects pods in production without CPU limits, and unit tests run locally via the Rego playground. Policies deploy as ConfigMaps, OPA annotates status policy status: ok, and Gatekeeper v3 adds templated CRDs for reuse.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:38What is OPA
- 6:50Architectures
- 10:47Policy Language
- 13:40Record Playground
- 15:22Resource Limits
- 16:35Unit Testing
- 19:09Config Map
- 20:06Check Policy Syntax
- 21:05Check Policy Evaluation
- 22:17Summary
related talks
25mPolicing Your Kubernetes Clusters with Open Policy Agent (OPA)
39mApplying Policy Throughout The Application Lifecycle with Open Policy Agent
19mDynamic Authorization and Policy Control for Your Kubernetes Cluster
30mSecuring the Kubernetes Empire with OpenPolicyAgent and Rego
34mFine-grained Authorization in a Containerized World
39mOPA
17mOpen Policy Agent Intro
29mIntroduction to Open Policy Agent
