< 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

  • Application Management for Cluster Federation should have been installed and enabled.

  • You should join a multi-cluster project and have the Federated Project Management permission within the project.

Delete a Single Workload

  1. Log in to the KubeSphere web console with a user who has the Federated Project Management permission, and access your multi-cluster project.

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

  3. On the Workloads page, click Deployments or StatefulSets to open the workload list.

  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, select the related resources to be deleted simultaneously, then click OK.

Delete Multiple Workloads

  1. Log in to the KubeSphere web console with a user who has the Federated Project Management permission, and access your multi-cluster project.

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

  3. On the Workloads page, click Deployments or StatefulSets to open the workload list.

  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.