title: What is difference between Kubernetes Jobs & Deployments
body: <p>I see that Kubernetes <code>Job</code> &amp; <code>Deployment</code> provide very similar configuration. Both can deploy one or more pods with certain configuration. So I have few queries around these:</p>
  <ul>
  <li>Is the pod specification <code>.spec.template</code> different in <code>Job</code> &amp; <code>Deployment</code>?</li>
  <li>What is difference in <code>Job</code>'s <code>completions</code> &amp; <code>Deployment</code>'s <code>replicas</code>?</li>
  <li>If a command is run in a <code>Deployment</code>'s only container and it completes (no server or daemon process containers), the pod would terminate. The same is applicable in a <code>Job</code> as well. So how is the pod lifecycle different in either of the resources?</li>
  </ul>