Help Center/ Ubiquitous Cloud Native Service/ FAQs/ Policy Center/ How Do I Clear Policy Center Resources?
Updated on 2024-09-11 GMT+08:00

How Do I Clear Policy Center Resources?

For a cluster with policy center enabled, residual resources may exist in the following scenarios:

  • Policy center is disabled when the cluster is disconnected.
  • The cluster connection is interrupted when the policy center is being disabled.
  • The cluster is unregistered after the cluster connection is interrupted.
  • The cluster is removed from the fleet after the cluster connection is interrupted.

Run the following command to clear residual resources:

kubectl delete namespace gatekeeper-system