What is CronJob?
A Kubernetes workload that runs Jobs on a scheduled, cron-like time basis.
A CronJob in Kubernetes creates Job objects on a schedule defined using standard cron syntax. It's used for recurring tasks like database backups, report generation, or cleanup scripts. Key settings include concurrencyPolicy (Allow/Forbid/Replace), successfulJobsHistoryLimit, and failedJobsHistoryLimit. CronJobs run in UTC by default. Common issue: the CronJob controller requires at least one successful run in the past 100 scheduled times.
Deep Dive Guide
what is job and cronjob kubernetes
Related Terms
More Kubernetes Terms
Admission Controller
A Kubernetes plugin that intercepts API requests before objects are persisted.
Auto Scaling
Automatically adjusting the number of compute resources based on demand.
ClusterIP
The default Kubernetes Service type that exposes a service on an internal cluster IP.
ConfigMap
A Kubernetes object for storing non-sensitive configuration data as key-value pairs.
Controller Manager
Kubernetes control plane component running control loops to maintain desired state.
CoreDNS
The default DNS server in Kubernetes clusters for service discovery.
Test your knowledge of CronJob and 130 other DevOps concepts