July 2018
Intermediate to advanced
504 pages
11h 34m
English
If we've done something wrong with the pod, or it may have broken for some reason, there is a simple way to delete a pod using the kubectl delete pod command:
$ kubectl delete pod httpd-8576c89d7-qjd62pod "httpd-8576c89d7-qjd62" deleted
We can delete all pods using the --all option:
$ kubectl delete pod --allpod "httpd-8576c89d7-qjd62" deletedpod "httpd1-c9f7d7fd9-rn2nz" deletedpod "httpd2-5b4ff5cf57-vlhb4" deleted
We can delete Kubernetes resources by ...