Job
Appears in
.Values.workload.$name
completionMode
Define the completionMode
| Key | workload.$name.completionMode |
| Type | string |
| Required | ❌ |
Helm tpl | ❌ |
| Default | NonIndexed |
Valid Values:
IndexedNonIndexed
Example
workload: workload-name: completionMode: IndexedbackoffLimit
Define the backoffLimit
| Key | workload.$name.backoffLimit |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | 5 |
Example
workload: workload-name: backoffLimit: 5completions
Define the completions
| Key | workload.$name.completions |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | unset |
Example
workload: workload-name: completions: 5parallelism
Define the parallelism
| Key | workload.$name.parallelism |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | 1 |
Example
workload: workload-name: parallelism: 5ttlSecondsAfterFinished
Define the ttlSecondsAfterFinished
| Key | workload.$name.ttlSecondsAfterFinished |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | 120 |
Example
workload: workload-name: ttlSecondsAfterFinished: 100activeDeadlineSeconds
Define the activeDeadlineSeconds
| Key | workload.$name.activeDeadlineSeconds |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | unset |
Example
workload: workload-name: activeDeadlineSeconds: 100Full Examples
workload: workload-name: enabled: true primary: true type: Job backoffLimit: 5 completionMode: Indexed completions: 5 parallelism: 5 ttlSecondsAfterFinished: 100 activeDeadlineSeconds: 100 podSpec: restartPolicy: Never
other-workload-name: enabled: true primary: false type: Job podSpec: {}