GCPEnd of support
Google Kubernetes Engine: Policy Controller end of support
Policy Controller reaches end of support on 31 Dec 2027. From 31 Jan 2027, it cannot be enabled in fleet host projects that do not already have it enabled. Google names Kubernetes ValidatingAdmissionPolicies, Pod Security Admission, or self-managed Open Policy Agent (OPA) Gatekeeper as the migration targets.
Support ends , 31 Dec 2027
What breaks
Policy Controller reaches end of support on 31 Dec 2027. On that date, technical support, security patching on GKE version 1.38 and earlier, and the Google Cloud console dashboard for Policy Controller end. From 31 Jan 2027, you cannot enable Policy Controller in fleet host projects that do not already have it enabled. Google Kubernetes Engine (GKE) blocks upgrades to version 1.39 and later for clusters that have Policy Controller installed. Clusters that run GKE version 1.39 and later do not support Policy Controller. Google deprecated Policy Controller on 12 Nov 2026. Google states that migrating does not affect workloads that are already running.
What to do
- Identify the clusters in your fleet that run Policy Controller, and list the constraints on each cluster.
- Back up your ConstraintTemplates and constraints to separate files. If you enabled referential rules in Policy Controller, also back up your sync configuration. If you enabled mutation in Policy Controller, also back up your mutators. Removing Policy Controller deletes every ConstraintTemplate, constraint, sync configuration, and mutator on the cluster.
- Choose a replacement for each admission policy. Google recommends ValidatingAdmissionPolicy for policies that check a single resource when it is created or updated, and Pod Security Admission for the Pod security bundles. Self-managed OPA Gatekeeper is for policies that ValidatingAdmissionPolicies cannot express, such as referential policies that read other resources in the cluster.
- To replace a constraint without a gap in enforcement, run the ValidatingAdmissionPolicy next to the constraint with the Warn and Audit actions. After the results match, change the binding to the Deny action and delete the Policy Controller constraint.
- Before you upgrade a cluster to GKE version 1.39, migrate your policies and remove Policy Controller from that cluster. Do not remove Policy Controller only to unblock the upgrade before you migrate your policies, because that leaves the cluster without policy enforcement.
- Uninstall Policy Controller with the
gcloud container fleet policycontroller disablecommand, and wait until the state of each membership is NOT_INSTALLED. That command removes Policy Controller only from clusters that the fleet manages. For other clusters, see Remove Policy Controller from clusters outside a fleet.
Google's steps are in Migrate from Policy Controller.
Replacement
Kubernetes ValidatingAdmissionPolicies, Pod Security Admission, or self-managed Open Policy Agent (OPA) Gatekeeper
Sources
- Official sourcedocs.cloud.google.comOfficial
- Additional sourcedocs.cloud.google.comOfficial
Last checked against the first source in this list on .
Related
- , 12 Jun 2027Kubernetes 1.33 end of extended supportSource
- , 9 Aug 2027Kubernetes 1.36 end of standard supportSource
- , 25 Nov 2027Kubernetes 1.34 end of extended supportSource
- , 22 Dec 2027Kubernetes 1.37 end of standard supportSource
- , 11 Feb 2028Kubernetes 1.35 end of extended supportSource
- , 9 Jun 2028Kubernetes 1.36 end of extended supportSource
Found an error? Report it
The text on this page is drafted with AI assistance from the vendor's text, checked against the official source and approved by a person before it is published. How items are written
Last checked · Added · Changelog for this item