Skip to content

Job

Appears in

  • .Values.workload.$name

completionMode

Define the completionMode

Keyworkload.$name.completionMode
Typestring
Required
Helm tpl
DefaultNonIndexed

Valid Values:

  • Indexed
  • NonIndexed

Example

workload:
workload-name:
completionMode: Indexed

backoffLimit

Define the backoffLimit

Keyworkload.$name.backoffLimit
Typeint
Required
Helm tpl
Default5

Example

workload:
workload-name:
backoffLimit: 5

completions

Define the completions

Keyworkload.$name.completions
Typeint
Required
Helm tpl
Defaultunset

Example

workload:
workload-name:
completions: 5

parallelism

Define the parallelism

Keyworkload.$name.parallelism
Typeint
Required
Helm tpl
Default1

Example

workload:
workload-name:
parallelism: 5

ttlSecondsAfterFinished

Define the ttlSecondsAfterFinished

Keyworkload.$name.ttlSecondsAfterFinished
Typeint
Required
Helm tpl
Default120

Example

workload:
workload-name:
ttlSecondsAfterFinished: 100

activeDeadlineSeconds

Define the activeDeadlineSeconds

Keyworkload.$name.activeDeadlineSeconds
Typeint
Required
Helm tpl
Defaultunset

Example

workload:
workload-name:
activeDeadlineSeconds: 100

Full 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: {}