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

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

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

  3. On the Canary Release page, click Release Task, and then click the name of a blue-green deployment task to open its details page.

  4. 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 set this version to immediately take over all business traffic.