< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Adjust Traffic Distribution Ratio (Canary Release)

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

Based on business needs, you can manually adjust the traffic distribution ratio between the new and old versions in a canary release task.

Prerequisites

  • You should join a project and have the Service Mesh Management permission within the project. For more information, refer to "Project Members" and "Project Roles".

  • KubeSphere Service Mesh should have been installed and enabled.

Steps

  1. Log in to the KubeSphere web console with a user who has the Service Mesh Management permission, and access your project.

  2. Click Service Mesh > Grayscale Release in the left navigation pane.

  3. On the Grayscale Release page, click Release Tasks, 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 distribution ratio between the new and old versions, then click OK in the pop-up dialog. The system will distribute business traffic between the new and old versions according to the ratio.

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

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page