Skip to content

DaemonSet

  • .Values.workload.$name

Value of workload.$name.podSpec.restartPolicy can only be Always for this type of workload


Define the number of history revisions

Keyworkload.$name.revisionHistoryLimit
Typeint
Required
Helm tpl
Default3

Example

workload:
workload-name:
revisionHistoryLimit: 3

Define the strategy of the workload

Keyworkload.$name.strategy
Typestring
Required
Helm tpl
DefaultRollingUpdate

Valid Values:

  • RollingUpdate
  • OnDelete

Example

workload:
workload-name:
strategy: RollingUpdate

Define the rollingUpdate options

Keyworkload.$name.rollingUpdate
Typemap
Required
Helm tpl
Default{}

Example

workload:
workload-name:
rollingUpdate:
maxUnavailable: 1
maxSurge: 1

Define the maxUnavailable

Keyworkload.$name.rollingUpdate.maxUnavailable
Typeint
Required
Helm tpl
Defaultunset

Example

workload:
workload-name:
rollingUpdate:
maxUnavailable: 1

Define the maxSurge

Keyworkload.$name.rollingUpdate.maxSurge
Typeint
Required
Helm tpl
Defaultunset

Example

workload:
workload-name:
rollingUpdate:
maxSurge: 1

workload:
workload-name:
enabled: true
primary: true
type: DaemonSet
revisionHistoryLimit: 3
strategy: RollingUpdate
rollingUpdate:
maxUnavailable: 1
maxSurge: 1
podSpec: {}
other-workload-name:
enabled: true
primary: false
type: DaemonSet
labels: {}
annotations: {}
replicas: 1
revisionHistoryLimit: 3
strategy: RollingUpdate
rollingUpdate:
maxUnavailable: 1
maxSurge: 1
podSpec: {}