xxxxxxxxxx
kubectl delete pods <pod>
To force delete
kubectl delete pods <pod> --grace-period=0 --force
xxxxxxxxxx
$ kubectl delete pod $(kubectl get pods | grep Completed | awk '{print $1}')
xxxxxxxxxx
kubectl delete daemonsets,replicasets,services,deployments,pods,rc,ingress --all --all-namespaces
xxxxxxxxxx
$ kubectl get pods | grep Completed | awk '{print $1}' | xargs kubectl delete pod