kubectl 一些命令

Posted by Sunday on 2019-10-14
1
2
kubectl get po --all-namespaces --field-selector 'status.phase==Failed'
kubectl delete po --field-selector 'status.phase==Failed'