All Products
Search
Document Center

Microservices Engine:Disable Microservices Governance

Last Updated:Feb 23, 2024

If you no longer need to use Microservices Governance to manage your application, we recommend that you disable Microservices Governance for your application at the earliest opportunity. This helps prevent unexpected impacts on your application. This topic describes how to disable Microservices Governance.

Disable Microservices Governance for a single 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 from the Namespace drop-down list in the upper-left corner, find the application for which you want to disable Microservices Governance, and then click More in the Actions column. In the list that appears, select View in YAML.

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

    labels:
      msePilotAutoEnable: "off

Uninstall the Microservices Governance component from your ACK cluster

  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 message, click OK.

    The ack-onepilot component is uninstalled.

Important

The ack-onepilot component is used for access to MSE and the Application Real-Time Monitoring Service (ARMS) Java agent. After the ack-onepilot component is uninstalled, pods in your cluster cannot automatically access MSE and ARMS.

Remove your application from MSE

Note

Take note of the following items:

  • Before you remove your application from MSE, check the nodes with which your application is associated on the Node Details page. You must make sure that your application is not associated with any node before you remove your application from MSE or disable Microservices Governance for your application.

  • You can remove your application from MSE or disable Microservices Governance for your application only after your application is not associated with any node. After you uninstall the ack-onepilot component or disable Microservices Governance for your instance by using labels, redeploy the associated applications to ensure that the applications can continue to run as expected.

  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 Application list page, find the desired application, click the image.png icon in the Actions column. In the list that appears, select Delete.

    You can also select multiple applications and click Batch Remove in the lower part of the page to delete the applications at a time.

  4. In the Delete message, click OK.

References

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