공부
[k8s] delete pods in namespace
승가비
2022. 11. 23. 22:28
728x90
kubectl delete --all pods --namespace=foo
https://stackoverflow.com/questions/33509194/command-to-delete-all-pods-in-all-kubernetes-namespaces
Command to delete all pods in all kubernetes namespaces
Upon looking at the docs, there is an API call to delete a single pod, but is there a way to delete all pods in all namespaces?
stackoverflow.com
728x90