How to delete pending pods in kubernetes? How to delete pending pods in kubernetes? kubernetes kubernetes

How to delete pending pods in kubernetes?


kubectl delete rc replica set names

Or You forgot to specify storageClassName: manual in PersistentVolumeClaim.


You should delete the statefulset which controls the pods instead of deleting the pods directly. The reason pods are not getting deleted is because statefulset controller is recreating them after you delete it.

kubectl delete statefulset happy-panda-mariadb-master