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