- Home
- All questions
- Question 651
CKA study material · question 651 of 1000
A batch job splits a fixed dataset into numbered shards, and each Pod must know which shard it owns. Which Job setting supports that?
Show the answer
Answer: A. completionMode: Indexed
An Indexed Job gives each Pod a completion index from 0 to completions minus one, which is exactly the static work assignment this needs. NonIndexed only counts successes.
Source: Jobs (Kubernetes) — Writing a Job spec › Completion mode