Is there any resource out there that gives an overview of all the possible status conditions a kubernetes job can have?
I'm wondering because I would like to check, when I run a job if it is already running and if so, exit the new job.
I came across until kubectl get jobs myjob -o jsonpath='{.status.conditions[?(@.type=="Complete")].status}' | grep True ; do sleep 1 ; done
quite a few times but I want to know if it is running, not if it is already complete. Would prefer not to wait (ha) for kubectl 1.11 wait functionality