website/content/en/docs/concepts/security/pod-security-policy.md

1.1 KiB

reviewers title content_type weight
liggitt
tallclair
Pod Security Policies concept 30

{{< feature-state for_k8s_version="v1.21" state="deprecated" >}}

{{< note >}} PodSecurityPolicy was deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Instead of using PodSecurityPolicy, you can enforce similar restrictions on Pods using either or both:

For a migration guide, see Migrate from PodSecurityPolicy to the Built-In PodSecurity Admission Controller. For more information on the removal of this API, see PodSecurityPolicy Deprecation: Past, Present, and Future.

If you are not running Kubernetes v{{< skew currentVersion >}}, check the documentation for your version of Kubernetes. {{< /note >}}