Delete Pods

This section explains how to delete a pod.

Note
  • It is recommended to delete a pod by removing its managing resources (e.g., workloads or jobs) rather than directly deleting the pod.

  • If you directly delete the pod, depending on the policy of the managing resources, the system may recreate the pod.

Warning

Deleting a running pod may cause a service interruption. 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 Pod

  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 > Pods in the left navigation pane.

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

  4. In the Delete Pod dialog, enter the name of the pod, then click OK.

Delete Multiple Pods

  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 > Pods in the left navigation pane.

  3. Select the checkbox on the left of the pods you want to delete, then click Delete above the pod list.

  4. In the Delete Multiple Pods dialog, enter the name of the pods, then click OK.

    Note

    Please separate multiple names using a comma (,) and a space.