Disable MSE Microservices Governance

更新时间:
复制 MD 格式

When you no longer need MSE Microservices Governance, disable it to prevent disruptions to your applications. This topic explains how.

Disable governance for a K8s cluster namespace

  1. Log on to the MSE console.

  2. In the left-side navigation pane, choose O&M Center, select the Kubernetes Clusters tab, and then click the name of the target cluster.

  3. In the Actions column for the target namespace, click Deactivate Microservice Governance.

Note
  • Disabling MSE Microservices Governance for a K8s cluster namespace does not affect applications within that namespace that were onboarded individually. To disable governance for these applications, follow the procedure for a single application described later in this topic.

  • After you disable MSE Microservices Governance for a K8s cluster namespace, you can still enable it for individual applications within that namespace.

  • Restart any applications already connected to MSE to complete disabling Microservices Governance.

Disable governance for a single Java application

  1. Log on to the ACK console.

  2. In the left-side navigation pane, click Clusters. Then, click the name of the cluster that you want to manage.

  3. In the left-side navigation pane, choose Workloads > Deployments.

  4. On the Deployments page, select a Namespace in the upper-left corner. Find the target application and choose More > Edit YAML in the Actions column.

  5. In the Edit YAML dialog box, find labels under spec > template > metadata. Delete msePilotAutoEnable: "on" or change it to msePilotAutoEnable: "off", and then click Update.

    labels:
      msePilotAutoEnable: "off"

Uninstall the MSE governance component from ACK

  1. Log on to the ACK console.

  2. In the left-side navigation pane, click Clusters. Then, click the name of the cluster that you want to manage.

  3. In the left-side navigation pane, choose Applications > Helm.

  4. On the Helm page, find the ack-onepilot application and click Delete in the Actions column.

  5. In the Delete dialog box, click OK.

    This action uninstalls the ack-onepilot component for MSE Microservices Governance.

Important
  • The ack-onepilot component is required for MSE and ARMS Java agent access. After you delete the ack-onepilot component, pods in the current cluster can no longer automatically connect to MSE or ARMS.

  • Restart any application pods already connected to MSE to finalize the disconnection from Microservices Governance.

Remove a microservice application in MSE

Note

Before you remove an application, consider the following:

  • Check node connections: On the application's Node details page, verify that all nodes are disconnected before you remove the application or disable MSE.

  • Redeploy after removal or disabling: After confirming that all nodes are disconnected, remove the application or disable MSE. If you have deleted the ack-onepilot component or disabled MSE using labels, you must redeploy the applications to ensure they run correctly.

  1. Log on to the MSE console, and select a region in the top navigation bar.

  2. In the left-side navigation pane, choose Microservices Governance > Application Governance.

  3. On the Applications page, hover over the target application's card. When the Remove button appears in the upper-right corner, click Remove.

    To remove multiple applications, click Batch Select at the bottom of the page, select the applications you want to remove or select all, and then click Batch Delete.

  4. In the Remove confirmation dialog box, click OK.

Related documentation

For information about billing for Microservices Governance, see Billing overview of Microservices Governance.