Interview Prep/Kubernetes/Pods & Workloads

Explain CronJob `concurrencyPolicy`, `startingDeadlineSeconds` and `timeZone`.

IntermediateConceptPods & Workloads
Answer

concurrencyPolicy is Allow (default), Forbid (skip if the previous run is still going) or Replace. startingDeadlineSeconds is how late a missed run may still start; if more than 100 consecutive schedules are missed the controller stops scheduling. spec.timeZone (GA 1.27) takes an IANA name; without it the controller-manager's zone, usually UTC, is used.

All Kubernetes questions Roadmap: Kubernetes core

More on Pods & Workloads