<p>Quick question regarding Kubernetes job status.</p>

<p>Lets assume I submit my resource to 10 PODS and want to check if my JOB is completed successfully.</p>

<p>What is the best available options that we can use from KUBECTL commands.</p>

<p>I think of kubectl get jobs but the problem here is you have only two codes 0 &amp; 1. 1 for completion 0 for failed or running, we cannot really depend on this</p>

<p>Other option is kubectl describe to check the PODS status like out of 10 PODS how many are commpleted/failed.</p>

<p>Any other effective way of monitoring the PODs? Please let me know</p>

<p>Anything that can talk to the Kubernetes API can query for Job object and look at the <code>JobStatus</code> field, which has info on which pods are running, completed, failed, or unavailable. <code>kubectl</code> is probably the easiest, as you mentioned, but you could write something more specialized using any client library if you wanted/needed to.</p>
