/cluster-policy-controller

Controllers required to maintain policy resources to create pods.

Primary LanguageGoApache License 2.0Apache-2.0

cluster-policy-controller

The cluster-policy-controller is responsible for maintaining policy resources necessary to create pods in a cluster. Controllers managed by cluster-policy-controller are:

  • cluster quota reconcilion - manages cluster quota usage
  • namespace SCC allocation controller - allocates UIDs and SELinux labels for namespaces

The cluster-policy-controller runs as a container in the openshift-kube-controller-manager namespace, in the kube-controller-manager static pod. This pod is defined and managed by the kube-controller-manager OpenShift ClusterOperator. that installs and maintains the KubeControllerManager Custom Resource in a cluster. It can be viewed with:

oc get clusteroperator kube-controller-manager -o yaml

Many OpenShift ClusterOperators and Operands share common build, test, deployment, and update methods.
For more information about how to build, deploy, test, update, and develop OpenShift ClusterOperators, see
OpenShift ClusterOperator and Operand Developer Document

This section explains how to deploy OpenShift with your test cluster-kube-controller-manager-operator and cluster-policy-controller images:
Testing a ClusterOperator/Operand image in a cluster