< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

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 project and have the Application Workload Management permission within the project. For more information, refer to "Project Members" and "Project 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 project.

  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 project.

  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.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.