I was originally trying to run a Job that seemed to get stuck in a CrashBackoffLoop. Here was the service file:
apiVersion: batch/v1 kind: Job metadata: name:
kubectl delete pods --field-selector status.phase=Failed -n
...cleans up any failed pods in your-namespace.