Help Center/ Ubiquitous Cloud Native Service/ FAQs/ Container Intelligent Analysis/ What Can I Do If Monitoring Fails to Be Enabled for a Cluster Due to Policy Interception?
Updated on 2024-09-11 GMT+08:00

What Can I Do If Monitoring Fails to Be Enabled for a Cluster Due to Policy Interception?

Symptom

  • When monitoring is enabled for a cluster, the API returns an error message containing the field gatekeeper.
  • The request for enabling cluster monitoring has been delivered, but the monitoring status is Installing. After the installation times out, Installation fail is displayed. Check the pod status of the add-on in the cluster. The pod event contains the field gatekeeper.

Cause Analysis

If a policy rule of the interception level is configured in the policy center for the cluster for which monitoring is to be enabled, monitoring may fail to be enabled.

Troubleshooting

Cancel the interception policy for the kube-system and monitoring namespaces in the policy instance of the specified cluster.