Interview Prep/Kubernetes/Pods & Workloads

Explain Job parameters: `completions`, `parallelism`, `backoffLimit`, `activeDeadlineSeconds`, `ttlSecondsAfterFinished`.

IntermediateConceptPods & Workloads
Answer

completions is how many successful Pods are needed; parallelism is how many run at once; backoffLimit caps retries (default 6) before the Job fails; activeDeadlineSeconds is a hard time limit; ttlSecondsAfterFinished auto-deletes the finished Job and its Pods. Indexed Jobs (completionMode: Indexed) give each Pod a JOB_COMPLETION_INDEX.

All Kubernetes questions Roadmap: Kubernetes core

More on Pods & Workloads