Back
Hi, there is no particular command to delete all the pods that I know of but you can possibly delete all the pods in a given namespace, this can be done by using the following command
kubectl delete --all pods --namespace=foo
If you are interested in learning about Kubernetes I would recommend you to take Kubernetes certification training
31k questions
32.8k answers
501 comments
693 users