backoffLimit must match numberJobRetries
The following discussion from !1 (merged) should be addressed:
-
@alossent started a discussion: This only works because
numberJobRetries
is 6. You need to set the job's.spec.backoffLimit
tonumberJobRetries
, otherwisejob.Status.Failed
cannot be more than 6 (the default value forbackoffLimit
). Cf. https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#pod-backoff-failure-policy