Interview Prep/Kubernetes/Pods & Workloads

How do the Pod `activeDeadlineSeconds`, Job `podFailurePolicy` and `backoffLimitPerIndex` help batch reliability?

AdvancedConceptPods & Workloads
Answer

podFailurePolicy lets a Job treat specific exit codes or conditions as non-retriable (FailJob) or ignorable (Ignore, for example node disruptions), instead of burning backoffLimit. backoffLimitPerIndex in Indexed Jobs retries each index independently, so one bad shard does not fail the whole Job.

All Kubernetes questions Roadmap: Kubernetes core

More on Pods & Workloads