Roll Back Workload Settings
This section describes how to roll back workload settings.
The system will generate revision records after workload creation or modification, which can be used to roll back workload settings. A maximum of 10 revision records can be retained.
| Warning |
|---|
This operation will recreate the workload according to the revision record selected by the user. The business running in the workload will be interrupted. Please perform this operation with caution. |
Prerequisites
-
You need to join a cluster and have the Application Workload Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.
-
The workload to be rolled back must have been edited, so that the system has saved modification records that can be rolled back.
Steps
-
Log in to the KubeSphere web console with a user who has Application Workload Management permissions and enter your cluster.
-
Click Application Workloads > Workloads in the left navigation pane.
-
On the Workloads page, click Deployments, StatefulSets, or DaemonSets, then click the name of a workload in the list to open its details page.
-
On the workload details page, click Operation > Rollback.
-
In the Rollback dialog box, set the Target Revision, and then click OK.