Delete Workloads

This section explains 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 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”.

Delete a Single Workload

  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 to open the list of workloads.

  4. Click more on the right of the workload you want to delete, then choose Delete from the dropdown list.

  5. In the Delete Workload dialog, confirm and select the names of the resources related to the workloads to be deleted, then click OK.

Delete Multiple Workloads

  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 to open the list of workloads.

  4. Select the checkbox on the left side of the workloads you want to delete, then click Delete above the workload list.

  5. In the Delete Multiple Workloads dialog, confirm and select the names of the resources related to the workloads to be deleted, then click OK.