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

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.

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.