Skip to content

Termination

Appears in

  • .Values.workload.$name.podSpec.containers.$name

termination

Define termination for the container

Keyworkload.$name.podSpec.containers.$name.termination
Typemap
Required
Helm tpl
Default{}

Example

workload:
workload-name:
podSpec:
containers:
container-name:
termination: {}

termination.messagePath

Define termination message path for the container

Keyworkload.$name.podSpec.containers.$name.termination.messagePath
Typestring
Required
Helm tpl
Default""

Example

workload:
workload-name:
podSpec:
containers:
container-name:
termination:
messagePath: /dev/termination-log

termination.messagePolicy

Define termination message policy for the container

Keyworkload.$name.podSpec.containers.$name.termination.messagePolicy
Typestring
Required
Helm tpl
Default""

Example

workload:
workload-name:
podSpec:
containers:
container-name:
termination:
messagePolicy: File

Full Examples

workload:
workload-name:
enabled: true
primary: true
podSpec:
containers:
container-name:
enabled: true
primary: true
termination:
messagePath: /dev/termination-log
messagePolicy: File