A controller that trims old jobs so the cluster does not fill with finished work

Kubernetes CronJobs need a history policy

A CronJob does not run your work; it creates a Job, and the Job creates a pod. When the pod finishes, neither the Job nor the pod disappears. The pod is kept on purpose so you can still read its logs after the fact, and the Job is kept so you can still read its status. ...

February 25, 2028 · 5 min · XB Field Notes
A Kubernetes object that starts a job on a cron schedule.

A CronJob turns a schedule into a pod

A CronJob is a Job template plus a cron expression. Every time the expression matches, the controller creates a new Job, and that Job runs a pod to completion. Nothing stays resident between runs: a batch job inherits the cluster’s retry and scheduling machinery without a daemon kept alive to trigger it. ...

December 17, 2027 · 5 min · XB Field Notes