Kubernetes Jobs vs. CronJobs
Ever wonder the difference between Jobs and CronJobs in Kubernetes and their use cases? Check out this article:
An IT ops guide to Kubernetes Job vs. CronJob | TechTargetHighlights:
- Jobs are for one-time or on-demand tasks that execute a short-term set of tasks.
- CronJobs is a job that runs on a recurring schedule, in cron format (scheduler on unix-type operating systems).
- Examples of job include image processing, periodic data replication, data transformation, and data analytics.
- Examples of cronJobs include data backups, data sync, data aggregation, and log cleanup.
Exercise:
Want to get practice with creating jobs and cronJobs in Kubernetes? Complete this exercise in the Killercoda lab environment:
Chad M. Crowell | Killercoda