DevOps Dictionary

A straightforward reference for DevOps terms and concepts.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Kubernetes CronJob

Container Orchestration

A Kubernetes CronJob is a Kubernetes object that runs a task on a repeating schedule. You give it a schedule in cron format (for example, "0 2 * * *" for every day at 02:00) and a Job template. Each time the schedule matches, the CronJob controller creates a Job, the Job starts a Pod, and the Pod runs the task and exits.

Patent-style sketch of Kubernetes CronJob: a clock as the schedule driving a CronJob machine that stamps out a Job card, which starts a Pod drawn as a small sealed container, labelled 10 SCHEDULE, 12 CRONJOB, 14 JOB, 16 POD.

See also Kubernetes Custom Resource Definition (CRD), Kubernetes DaemonSet, Kubernetes Deployment, Kubernetes emptyDir, Kubernetes EndpointSlice, Kubernetes HorizontalPodAutoscaler (HPA).