k8s删除所有pod
kubectl delete --all deployments
kubectl delete all --all --all-namespaces
for each in $(kubectl get ns -o jsonpath="{.items[*].metadata.name}" | grep -v kube-system); do kubectl delete ns $each done
kubectl delete pods --all --grace-period=0 --force
https://jhooq.com/kubernetes-delete-pod/
黄世宇/Shiyu Huang's Personal Page:https://huangshiyu13.github.io/