To stop using Prometheus Service to monitor a Kubernetes cluster, you can perform
the following operations to uninstall the Prometheus agent:
Procedure
- Log on to the ARMS console .
- In the left-side navigation pane, choose .
- In the top navigation bar, select the region where your Kubernetes cluster is deployed.
- On the Prometheus Monitoring page, find the Kubernetes cluster for which you want to uninstall the Prometheus
agent and click Uninstall in the Actions column.
- In the Confirmation dialog box, click OK.
After the agent is uninstalled, the Kubernetes cluster is no longer displayed on the
Prometheus Monitoring page. Then, go to the Container Service for Kubernetes (ACK) console to check whether
the agent is uninstalled.
Check the result
Notice You can perform the following steps to check whether the Prometheus agent is uninstalled
for an ACK cluster. For information about how to check whether the Prometheus agent
is uninstalled for an open source Kubernetes cluster, see Kubernetes official documentation.
- Log on to the ACK console.
- In the left-side navigation pane, click Clusters. On the Clusters page, find the cluster for which you want to disable monitoring
and click its name.
Note This procedure is applicable only to the new version of the ACK console. If you are
using the earlier version of the console, choose in the left-side navigation pane and click New Version in the upper-right corner of the page.
- In the left-side navigation pane, choose . Perform one of the following operations as needed:
- If no record in the
arms-prom-****
format is displayed on the Helm page, the Prometheus agent is uninstalled. In this case, you do not need to perform
more operations.
- If a record in the
arms-prom-****
format is displayed on the Helm page, click Delete in the Actions column. 