delete all the pods in one command code example Example: delete all completed pods kubectl delete pod --field-selector=status.phase==Succeeded