Roll Back Workload Settings

This section explains how to roll back workload settings.

The system generates revision records after creating or modifying workloads, which can be used to roll back workload settings. Up to 10 revision records can be retained.

Warning

This operation will recreate the workload based on the selected revision record, and the running business will be interrupted. Please proceed with caution.

Prerequisites

  • You should join a cluster and have the Application Workload Management permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

  • The workload that needs to be rolled back must have been edited, so that the saved revision records can be used for rollback.

Steps

  1. Log in to the KubeSphere web console with a user who has the Application Workload Management permission, and access your cluster.

  2. Click Application Workloads > Workloads in the left navigation pane.

  3. On the Workloads page, click Deployments, StatefulSets, or DaemonSets, then click the name of a workload in the list to open its details page.

  4. On the top left of the workload details page, select More > Roll Back.

  5. In the Roll Back dialog, select the Target Revision Record, then click OK.