Category: Database, Data, yaml, artificial-intelligence

CronJobs are useful for creating periodic and recurring tasks, like running backups or sending emails. Kubernetes jobs are primarily meant for short-lived and batch workloads.

This feature ensures that you are still able to view the logs and the status of the finished Job and its pods.

It is the responsibility of the pods to know whether or not their peers have finished.

The CronJob is only responsible for creating Jobs that match its schedule, and the Job in turn is responsible for the management of the Pods it represents.

Related Articles