CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Administrator

Jobs and CronJobs

Every other controller keeps Pods running forever. A Job is the one that wants them to stop. Run four completions two at a time, read the difference between completions, parallelism and backoffLimit, then put it on a schedule and trigger it by hand.

Workloads Guide 30 of 103 Beginner

Written against the versions above. Job name suffixes, timestamps and durations differ per run. The manifests are the part to copy.

Four nodes, so parallel Job Pods have somewhere to run at once.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE02192.168.0.177Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE03192.168.0.178Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. A workload that is supposed to finish

  2. Completed Pods are kept, not cleaned up

  3. Put it on a schedule

  4. Wait for the first scheduled run

  5. Trigger a run by hand

  6. Clean up

Official sources