All Products
Search
Document Center

:Uninstall the Prometheus agent

Last Updated:Aug 19, 2024

To stop using Managed Service for Prometheus to monitor a Container Service for Kubernetes (ACK) cluster, you can perform the following operations to uninstall the Prometheus agent.

Procedure

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, choose Managed Service for Prometheus > Instances.

  3. In the top navigation bar, select the region where your ACK cluster is deployed.

  4. On the Instances page, find the ACK cluster for which you want to uninstall the Prometheus agent and click Uninstall in the Actions column.

  5. In the Tips message, click OK.

    After the agent is uninstalled, the ACK cluster is no longer displayed on the Instances page. Then, go to the ACK console to check whether the agent is uninstalled.

Check the result

Important

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.

  1. Log on to the ACK console.

  2. 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 Clusters > Clusters in the left-side navigation pane and click New Version in the upper-right corner of the page.

  3. In the left-side navigation pane, choose Applications > Helm. 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. ack_pg_release