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](https://docs.cloud.google.com/kubernetes-engine/policy-controller/docs/how-to/installing-policy-controller.md.txt#uninstalling).

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

```bash
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:

```bash
gcloud container fleet policycontroller enable \
  --memberships=MEMBERSHIP_NAME
```

## What's next

- [Use Policy Controller metrics](https://docs.cloud.google.com/kubernetes-engine/policy-controller/docs/how-to/policy-controller-metrics.md.txt)
- [Troubleshoot Policy Controller](https://docs.cloud.google.com/kubernetes-engine/policy-controller/docs/how-to/troubleshoot-policy-controller.md.txt)