File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
content/en/docs/concepts/workloads/controllers Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -360,8 +360,14 @@ with `phase: "Succeeded"`.
360
360
There are situations where you want to fail a Job after some amount of retries
361
361
due to a logical error in configuration etc.
362
362
To do so, set ` .spec.backoffLimit ` to specify the number of retries before
363
- considering a Job as failed. The back-off limit is set by default to 6. Failed
364
- Pods associated with the Job are recreated by the Job controller with an
363
+ considering a Job as failed.
364
+
365
+ The ` .spec.backoffLimit ` is set by default to 6, unless the
366
+ [ backoff limit per index] ( #backoff-limit-per-index ) (only Indexed Job) is specified.
367
+ When ` .spec.backoffLimitPerIndex ` is specified, then ` .spec.backoffLimit ` defaults
368
+ to 2147483647 (MaxInt32).
369
+
370
+ Failed Pods associated with the Job are recreated by the Job controller with an
365
371
exponential back-off delay (10s, 20s, 40s ...) capped at six minutes.
366
372
367
373
The number of retries is calculated in two ways:
You can’t perform that action at this time.
0 commit comments