Introduction
An overview of Jobs and how they are used.
We'll cover the following...
Introduction to jobs
All the pods that we have run so far are intended to keep running indefinitely. That is, until we decide to kill them, they should keep running forever.
That is not always what we want, though. Sometimes we need to run a process that performs a specific task and exits. A database migration is a good example where we want it to start, do what it needs to do, and exit. It doesn’t need to keep running forever. For these cases, we can use the Job
resource.
A Job
is a resource that (just like a Deployment
) will create one or more pods for us. It ...
Access this course and 1400+ top-rated courses and projects.