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