Delete Workloads
This section describes how to delete a workload.
| Warning |
|---|
This operation will delete the workload and all pods managed by it. 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.
Delete a Single Workload
-
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 to open the workload list.
-
On the right side of the workload you want to delete, click
, then select Delete from the dropdown list.
-
In the Delete Workload dialog box, confirm and select the related resources to delete, then click OK.
Delete Workloads in Batches
-
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 to open the workload list.
-
Select the checkbox on the left of the workload you want to delete, then click Delete above the workload list.
-
In the Batch Delete Workload dialog box, confirm and select the related resources to be deleted, then click OK.