Kubernetes Deprecations and Removals v1.20/21/22
Deprecation and removal of PodPreset, PodSecurityPolicy, and others
The latest Kubernetes version (v1.20) and the next two releases will bring deprecations and removals of resources and APIs still in use by multiple applications. This is also related to the upstream community decision to avoid APIs remaining permanently in beta.
Please review your deployments to ensure you can smoothly move your applications to new cluster versions in the future. The list below includes the most relevant changes coming up in the near future:
v1.20
- PodPreset is dropped completely. Alternatives include Mutating Admission Webhooks
v1.21
- PodSecurityPolicy deprecation (to be removed completely in 1.25). Alternatives include the Open Policy Agent (OPA) and Validating Admission WebHooks
v1.22
- Removal of extensions/v1beta1 Ingress, moved to networking.k8s.io/v1 (stable API)