<p>Is Pod and Job resource the same ?</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: ""
  labels:
</code></pre>

<p>or</p>

<pre><code>apiVersion: v1
kind: Job
metadata:
  name: ""
  labels:
</code></pre>

<p>The <code>Job</code> will still create a pod I think. Just wondering when do I use one instead of the other.</p>

alltej
<p>Pod is basic unit to express a runnable process on Kubernetes. </p>

<p>Job is a higher level abstraction that uses pods to run a <strong>completable task</strong>. </p>

<p>You might be thinking of using a pod with <code>restartPolicy: Never</code> to run a <strong>completable task</strong>. But in the event of node failure, pod on that node managed by Job are rescheduled to other node but an unmanaged pod is not.</p>

<p>Job also has extra features like <code>completions</code> and <code>parallelism</code> using which you can run multiple instances. </p>
