Stop Policy Controller

This page shows you how to disable Policy Controller. If you want to uninstall Policy Controller instead of temporarily disabling it, see Uninstalling Policy Controller.

If Policy Controller is causing issues in your cluster, you can temporarily disable the webhook:

gcloud container fleet policycontroller suspend \
    --memberships=MEMBERSHIP_NAME

Replace MEMBERSHIP_NAME with the membership name of the registered cluster to disable Policy Controller on. You can specify multiple memberships separated by a comma.

You can then re-enable Policy Controller. This will cause the operator to regenerate the webhook configuration, which will reconfigure the API server to use Policy Controller as an admission webhook:

gcloud container fleet policycontroller enable \
  --memberships=MEMBERSHIP_NAME

What's next