Switch Online Version (Blue-Green Deployment)
This section describes how to switch the online version for a blue-green deployment task.
Based on business needs, you can set the new or old version in a blue-green deployment task to immediately take over all business traffic with one click.
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 must be installed and enabled on the KubeSphere platform.
Steps
-
Log in to the KubeSphere web console with a user who has Service Mesh Management permissions and enter your workspace.
-
Click Canary Release > Canary Release in the left navigation pane.
-
On the Canary Release page, click Release Task, and then click the name of a blue-green deployment task to open its details page.
-
In the Version area, click
in the upper-right corner of a version, and then select Take Over from the drop-down list to set this version to immediately take over all business traffic.