This topic describes how to configure a canary release for Microservices Engine (MSE) agents.

Configure a canary release for MSE agents that reside in ECS instances

If you use applications that are deployed in an Elastic Compute Service (ECS) instance to access Microservices Governance, you can obtain the URL that is provided by Alibaba Cloud technical support engineers to download the latest canary version of the MSE agent. Then, you can use the latest agent to access MSE. For more information, see Connect microservice applications on ECS instances to Microservices Governance.

Configure a canary release for MSE agents that reside in ACK clusters

If you use applications that are deployed in a Container Service for Kubernetes (ACK) cluster to access Microservice Governance, perform the following steps to configure a canary release for MSE agents:

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.
  2. 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. On the page that appears, select ack-onepilot from the Namespace drop-down list.
    Note If you use an earlier version of the MSE agent, select mse-pilot from the Namespace drop-down list and select the mse-pilot-ack-mse-pilot application.
  4. Find the ack-onepilot-ack-onepilot application that you want to manage and click Edit in the Actions column.
  5. In the Environment Variable section, add the following environment variable. In the upper-right corner, click Update.
    • Variable name: ARMS_INIT_ARMS_AGENT_DOWNLOAD_URL.
    • Variable value: edas-public.oss-cn-hangzhou.aliyun.com/xxxxxx/.
      Note To obtain the environment variable value of the MSE agent for a canary release, submit a ticket. You must enter the URL for downloading the MSE agent at the level-1 directory. You do not need to enter the ArmsAgent.zip suffix.
  6. Restart the application that needs to be updated.
    After the update, the application automatically downloads the latest MSE agent during the restart based on the preceding configurations. This way, you can use the latest features of MSE.