Pod Security Admission

The built-in Kubernetes admission controller that applies Pod Security Standards to each namespace according to its labels.

In more detail

Each namespace can enforce one level and warn or audit another, pinned to a Kubernetes version so an upgrade cannot tighten rules by surprise. Enforcement checks pods, so a Deployment is accepted and its pods are then refused.

Examples

pod-security.kubernetes.io/enforce: baseline plus pod-security.kubernetes.io/warn: restricted
pod-security.kubernetes.io/enforce: restricted

Related terms

Taught in

References

Certification courses