Job and CronJob: Running a Task to Completion
A Deployment keeps its pods alive indefinitely. A migration or a nightly batch needs to finish, not stay alive. Job and CronJob answer that different need.
A Deployment keeps its pods alive indefinitely. A migration or a nightly batch needs to finish, not stay alive. Job and CronJob answer that different need.
Un Deployment garde ses pods vivants indéfiniment. Une migration ou un batch nocturne doit se terminer, pas rester vivant. Job et CronJob répondent à ce besoin différent.