Updated on 2024-10-08 GMT+08:00

Changing a Traffic Policy

Scenarios

You can change the settings of a configured traffic policy. For example, you can change the load balancing algorithm from Round robin to Random.

Procedure

  1. Log in to the ASM console and click the name of the target service mesh to go to its details page.
  2. In the navigation pane, choose Service Management. Locate the service whose traffic policy needs to be modified and click Manage Traffic in the Operation column. In the window that slides out from the right, modify traffic policies.
  3. On the Load Balancing tab, click Configure now. In the displayed dialog box, change the algorithm to Random and click OK.

    Figure 1 Modifying the load balancing algorithm