Edit Grayscale Release Task Settings
This section describes how to edit grayscale release task settings.
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 grayscale release task to open its details page.
-
In the Versions area, click in the top-right corner of the new version, then select Edit from the dropdown list.
-
On the New Version Settings tab, click / to increase/decrease the number of pod replicas.
Note Grayscale release does not support modifying the version number and container image of the new version.
-
Click the Strategy Settings tab, set the traffic distribution strategy for the grayscale release task, then click OK.
-
For Blue-Green Deployment, click Take Over on the right side of the new or old version to forward all business traffic to that version.
-
For Canary Release tasks, you can specify the traffic distribution ratio between the new and old versions, or forward requests to the new or old version based on request parameters.
Parameter Description Specify Traffic Distribution
Drag the slider to set the percentage of business traffic received by the new and old versions.
Specify Request Parameters
Forward requests with parameters meeting specific conditions to the new version, and other requests to the old version.
Note Traffic Mirroring tasks send a copy of the business traffic to the new version for testing without actually exposing the new version, so there is no need to set a business traffic distribution strategy.
-
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.