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:
I usually remove all the Error pods with this command. kubectl delete pod `kubectl get pods --namespace | awk '$3 == "Error" {print $1}'` --namespace
Error
kubectl delete pod `kubectl get pods --namespace | awk '$3 == "Error" {print $1}'` --namespace