Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.
- What's New
- Service Overview
- Getting Started
- User Guide
- Best Practices
-
FAQs
- Service Mesh Cluster
- Mesh Management
-
Adding a Service
- What Do I Do If an Added Gateway Does Not Take Effect?
- Why Does It Take a Long Time to Start the Demo Application in Experiencing Service Mesh in One Click?
- Why Can't I Access the page of the Demo Application After It Is Successfully Deployed?
- Why Cannot I Select the Corresponding Service When Adding a Route?
- Performing Grayscale Release
- Videos
Grayscale Release
Creating a Grayscale Release Task
- Log in to the ASM console, click
in the asmtest mesh.
- Set Task Name to test, configure the basic information and grayscale version information, and set Service to the servicetest service created in Creating a Workload and a Service. Workload is automatically set to deptest. Click Release.
Figure 1 Creating a grayscale release task
NOTE:
If you cannot select servicetest, check whether the service is normal. If the service status is abnormal, fix the issues and try again.
- Click Configure Traffic Policy, set policy type to Based on traffic ratio, and set the traffic ratio of v2 to 80%.
Figure 2 Configuring a traffic policy
- Click Deliver Policy.
It takes several seconds for the traffic policy to take effect. You can view the running status of the grayscale version on the View Status page.
Switching All Traffic to the Grayscale Version
Check whether the number of resources in v2 matches that in v1. After confirming that v2 is able to serve all the traffic of v1, switch all the traffic from v1 to v2.
- On the Grayscale Release page, click test and then click Monitor and Manage Traffic.
- Click Take Over All Traffic next to v2.
Figure 3 Taking over all traffic
- Click OK. A message is displayed in the upper right corner, indicating that the traffic is taken over successfully.
Bringing the Original Version Offline
After v2 takes over all the traffic of v1, bring v1 offline to release its resources.
- On the Grayscale Release page, click test and then click Monitor and Manage Traffic.
- On the displayed page, when the traffic ratio of v2 is 100%, v2 has taken over all traffic of v1. Click Terminate Task.
- Click OK.
After the grayscale task is terminated, the v1 version is brought offline and the test grayscale task is deleted.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.