kubernetes 删除多个 pod

kubectl get pod -n default | grep Evicted | awk '{print $1}' | xargs kubectl delete pod -n default
原文地址:https://www.cnblogs.com/whm-blog/p/12809703.html