Answers for "kubectl delete pods"

3

kubectl delete all pods

kubectl delete --all pods
Posted by: Guest on May-10-2020
2

force delete pod kubernetes

kubectl delete pods <pod> --grace-period=0 --force
Posted by: Guest on October-14-2020
3

kubectl delete pods

kubectl delete pod podname
Posted by: Guest on May-10-2020
0

kubectl delete pods wildcard

$ kubectl get pods -n default --no-headers=true | awk '/web-app/{print $1}'| xargs  kubectl delete -n default podpod "web-app-7fb4f5bff9-8crgx" deletedpod "web-app-7fb4f5bff9-ftzfd" deletedpod "web-app-7fb4f5bff9-rrkt2" deleted
Posted by: Guest on February-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language