Container and Kubernetes security, topic 41 of 70
Admission control and policies
Admission controllers see every object before it is stored, and can refuse or change it. Policy engines such as Kyverno and OPA Gatekeeper use them to enforce rules across a cluster: images only from your registry and signed, no privileged pods, resource limits set, required labels present.
The pipeline's checks can be skipped; the cluster's cannot. Kubernetes' own ValidatingAdmissionPolicy covers simple rules without an extra component.
On Opsfolk
- Kubernetes API Server Explained: The Life of a RequestArticle, 28 min read
Elsewhere
- Kyverno documentationOfficial
- OPA Gatekeeper documentationOfficial