This section describes how to adjust the traffic distribution ratio for a canary release task.

According to business needs, you can manually adjust the distribution ratio of business traffic received between the new and old versions in a canary release task.

Prerequisites

  • You need to join a project and have the Service Mesh Management permission in the project. For more information, see Project Members and Project Roles.

  • The KubeSphere Service Mesh extension needs to be installed and enabled on the KubeSphere platform.

Steps

  1. Log in to the KubeSphere web console with a user who has Service Mesh Management permissions and enter your workspace.

  2. Click Gray Release > Gray Release in the left navigation pane.

  3. On the Gray Release page, click Release Tasks, and then click the name of a canary release task to open its details page.

  4. In the Traffic Distribution area, drag the slider to adjust the traffic ratio received by the new and old versions, then click OK in the pop-up dialog box. The system will distribute business traffic between the new and old versions according to the set ratio.

  5. (Optional) In the Version area, click more in the upper-right corner of a version, and then select Take Over from the drop-down list to immediately set that version to take over all business traffic.