BLOG

Goodbye PodSecurityPolicy, Hello OPA Gatekeeper

September 1, 2022
Naveen Chakrapani
Naveen Chakrapani
No items found.

The recently released version of Kubernetes v1.25 removed the ‘PodSecurityPolicy (PSP)’ capability. The intent behind PodSecurityPolicy (PSP) was to control security-sensitive aspects of pod specifications by defining the requirements that Pods must meet. If the PSP requirements aren’t met, the pod would not be not admitted to the cluster.PSP however had major usability issues, and a decision was made to remove this capability. Given the importance of the use cases that PSP enabled from a K8s security standpoint, a replacement, ‘Pod Security Admission’ was conceptualized and released as a stable feature in v1.25. More information on this is available here.One of the challenges that organizations will face because of this transition is the inability to standardize pod security policies across clusters running different K8s versions. As mentioned earlier, Pod Security Admission (PSA) is available as a stable feature only with v1.25 and it will be untenable for organizations to upgrade all clusters to v1.25+ at once. Solutions such as OPA Gatekeeper, Kyverno provides a critical bridge that works across all K8s versions and enables a more practical approach for organizations to manage the lifecycle of K8s clusters. Furthermore, these solutions also offer capabilities that enable organizations to satisfy governance and security requirements beyond just pod security policies.

The challenges that organizations face when implementing a solution such as OPA Gatekeeper at scale across many clusters broadly fall into two categories:

  • Ongoing effort required to maintain a consistent policy configuration for entire fleets of clusters requires significant overhead to create, test, tune, deploy, and verify policies
  • Obtaining feedback and visibility into how clusters are faring against configured compliance policies on an ongoing basis

Rafay’s Kubernetes Operations Platform addresses these challenges helping organizations manage the entire lifecycle for OPA Gatekeeper and altogether remove the need for any continual DIY investment.

Rafay’s turnkey policies can help organizations operationalize OPA Gatekeeper in minutes.To learn more about OPA Gatekeeper and Rafay, check out our getting started guide and watch our OPA Gatekeeper demo.If you are ready to leverage the real power of Kubernetes with a platform that provides best-in-class Policy Management capabilities, sign up for a free trial of Rafay today.

Share this post

Want a deeper dive in the Rafay Platform?

Book time with an expert.

Book a demo

You might be also be interested in...

Goodbye PodSecurityPolicy, Hello OPA Gatekeeper

The recently released version of Kubernetes v1. 25 removed the ‘PodSecurityPolicy (PSP)’ capability.

Read Now

Simplify Policy Management with Rafay and OPA Gatekeeper

In a previous blog post , we described how OPA Gatekeeper can be leveraged to enforce policies and strengthen governance in Kubernetes environments. We also covered the challenges customers face when implementing OPA Gatekeeper at scale across many clusters.

Read Now

Managing Policies on Kubernetes using OPA Gatekeeper

As customers scale up their Kubernetes (K8s) environments by adding more clusters and applications, it becomes critical to solve for a consistent, repeatable process to enforce policies and strengthen governance without sacrificing development agility. The OPA Gatekeeper project was conceptualized to provide the necessary tooling to help address this problem.

Read Now