This section describes how to roll back microservice configuration.

Each time you edit a microservice configuration, a modification record is generated. You can use these records to roll back the microservice configuration to a historical version.

Prerequisites

  • The KubeSphere Spring Cloud extension must be installed and enabled on the KubeSphere platform.

  • You need to join a project and have the Spring Cloud Microservice Management permission in the project. For more information, see Project Members and Project Roles.

Steps

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

  2. Click  Spring Cloud > Microservice Configuration in the left navigation pane.

  3. Select a project from the drop-down list in the upper left corner of the page.

  4. In the microservice configuration list, click the name of a microservice configuration to open its details page.

  5. On the microservice configuration details page, click Operation > Roll Back.

  6. In the Roll Back dialog box, select the target modification record, and then click OK.