Skip to the content.

Kubernetes - Jobs 👔

Description 👀

Jobs are a way to run a pod to completion. A job creates one or more pods and ensures that a specified number of them successfully terminate. As pods successfully complete, the job tracks the successful completions. When a specified number of successful completions is reached, the job itself is complete. Deleting a job will clean up the pods it created.


Examples of jobs 🧑‍đŸ’ŧ


Basic Commands 📝


Creating a Job 🛠ī¸

By default Kubernetes will restart a pod if it fails. This is not a desirable action for a job.


Examples 🧩


↩ī¸