xxxxxxxxxx
kubectl delete pods <pod>
To force delete
kubectl delete pods <pod> --grace-period=0 --force
xxxxxxxxxx
kubectl delete daemonsets,replicasets,services,deployments,pods,rc,ingress --all --all-namespaces
kubectl get pods -n
xxxxxxxxxx
$ 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