列出所有已完成的pod:
kubectl get pod --field-selector=status.phase==Succeeded
删除所有已完成的pod
kubectl delete pod --field-selector=status.phase==Succeeded
列出所有已完成的pod:
kubectl get pod --field-selector=status.phase==Succeeded
删除所有已完成的pod
kubectl delete pod --field-selector=status.phase==Succeeded