After Microservices Governance of Microservices Engine (MSE) became available for commercial use, 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.

Procedure

To disable Microservices Governance, perform the following steps:

  1. Disable Microservices Governance for your application.
  2. Uninstall the Microservices Governance component from your Container Service for Kubernetes (ACK) cluster.
  3. Remove your application from MSE.

Disable Microservices Governance for your application

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters. On the Clusters page, click the name of the cluster that you want to manage.
  3. In the left-side navigation pane of the Cluster Information page, 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, click View in YAML.
    View in YAML
  5. In the Edit YAML dialog box, find annotations in spec > template > metadata, delete msePilotAutoEnable: "on" or change msePilotAutoEnable: "on" to msePilotAutoEnable: "off", and then click Update.
    annotations:
      msePilotAutoEnable: "off"
      msePilotCreateAppName: "<your-deployment-name>"

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. On the Clusters page, click the name of the cluster that you want to manage.
  3. In the left-side navigation pane of the cluster details page, 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.

Remove your application from MSE

  1. Log on to the MSE console.
  2. In the left-side navigation pane, choose Microservices Governance > Application Information > Applications.
  3. On the Applications page, find the application that you want to remove and click Delete in the Actions column.
  4. In the message that appears, click OK.

Result

After you perform the preceding steps, Microservices Governance is disabled for your application that is deployed in the ACK cluster.