Skip to content
Opsfolk

Running applications, topic 13 of 61

Jobs and CronJobs

A Job runs Pods until a given number of them succeed, retrying failures up to backoffLimit: for a migration, a batch import or a report. It can run Pods in parallel, and an indexed Job gives each one a number to split the work by.

A CronJob creates a Job on a schedule written in cron syntax. Watch its concurrencyPolicy, which says what happens when a run is still going at the next tick, and the history limits, which keep old Jobs from piling up.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress