PodSecurityPolicy
An older Kubernetes pod security mechanism that was removed in version 1.25 and replaced by Pod Security Admission.
In more detail
Old tutorials still mention it, but the object no longer exists in current clusters. Use Pod Security Admission with the Pod Security Standards, or a policy engine, instead.
Related terms
- Pod Security Admission — The built-in Kubernetes admission controller that applies Pod Security Standards to each namespace according to its labels.
- Pod Security Standards — Three built-in Kubernetes security profiles, called privileged, baseline and restricted, that define how locked down a pod must be.
Taught in
- Created, But Never Running: Pod Security Admission — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- securityContext: Nonroot, Capabilities And Seccomp — Kubernetes: Production-Grade Container Orchestration
- Pod Security Admission And Pod Security Standards — Kubernetes: Production-Grade Container Orchestration