All Products
Search
Document Center

Application Real-Time Monitoring Service:Uninstall the ARMS agent for Python

Last Updated:Sep 30, 2026

To stop Application Real-Time Monitoring Service (ARMS) from monitoring a Python application, uninstall the ARMS agent from your deployment environment. The uninstall steps depend on whether the agent runs in a Container Service for Kubernetes (ACK) cluster or in Docker.

Uninstall an agent from a Kubernetes environment

Warning

The ack-onepilot component is shared by Microservices Engine (MSE) and ARMS. Before you uninstall ack-onepilot, ensure your application is not integrated with MSE. Otherwise, uninstalling ack-onepilot will make MSE unavailable.

Uninstall for all applications

Method 1: Uninstall from the ACK console

  1. Log on to the ACK console. On the Clusters page, click the name of the cluster.

  2. In the left-side navigation pane, click Components and Add-ons and then search for ack-onepilot by keyword.

  3. On the ack-onepilot card, click Uninstall.

  4. In the dialog box that appears, click OK.

  5. Restart your application pods. In the navigation pane on the left, choose Workloads > Stateless or StatefulSets. At the bottom of the page, click Batch Redeploy.

Method 2: Uninstall using the CLI

  1. To uninstall ack-onepilot, run the following command:

    helm3 uninstall --namespace ack-onepilot ack-onepilot
  2. Restart your application pods.

Uninstall for a specific application

  1. Log on to the ACK console. On the Clusters page, click the name of the cluster.

  2. In the navigation pane on the left, choose Workloads > Stateless. Select the namespace that contains your application. Find the application and in the Actions column, choose image > Edit YAML.

  3. In the Edit YAML dialog box, remove the labels section added during installation, and then click Update.

  4. Restart the pods. In the navigation pane on the left, choose Workloads > Stateless or StatefulSets. At the bottom of the page, click Batch Redeploy.

Uninstall the agent in Docker

  1. Remove the agent installation content from the Dockerfile.

  2. Run the docker build command to build the image.

  3. Run the docker run command to start the image.

Verify the uninstallation

After you uninstall the agent, you can verify the result:

  • ACK cluster (all applications): Run the following command to confirm that no ack-onepilot pods remain:

    kubectl get pods -n ack-onepilot

    If the uninstallation succeeded, no pods are returned.

  • ACK cluster (specific application): Check the deployment YAML of the target application to confirm that the ARMS labels have been removed.