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
Log in to the KubeSphere web console with a user who has the Service Mesh Management permission, and access your project.
Click Service Mesh > Grayscale Release in the left navigation pane.
On the Grayscale Release page, click Release Tasks, then click the name of a canary release task to open its details page.
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.
(Optional) In the Versions area, click 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.
Feedback
Was this page Helpful?
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.