The traffic adjustment environment is the core of canary release. You must perform traffic adjustment for multiple applications in a traffic adjustment environment. This topic describes how to create a traffic adjustment environment.
Prerequisites
- A group is created.
- If you use a RAM user to perform end-to-end traffic adjustment, the RAM user is granted the permissions to view clusters, applications, and services, and manage applications and services. For more information, see Replace EDAS-defined permissions with RAM policies.
Create a traffic adjustment environment
To configure traffic adjustment rules for High-Speed Service Framework (HSF) applications, you must use Enterprise Distributed Application Service (EDAS) Container V3.5.3 or later.
Enable the traffic adjustment environment
After the traffic adjustment environment is created, you can turn on Entrance Flow to apply traffic adjustment rules to the ingress application that runs in the traffic adjustment environment. To enable the traffic adjustment environment, perform the following steps:
- Go to the End-to-end Traffic Adjustment page.
- Select a region and a microservice namespace where the traffic adjustment environment resides.
- Find the traffic adjustment environment that you created and turn on Entrance Flow.
Verify the result
After you configure and enable the traffic adjustment environment, you can monitor the canary traffic to verify whether the environment meets your business requirements. For more information, see Monitor canary traffic.