StatefulSet
Appears in
.Values.workload.$name
Notes
Value of workload.$name.podSpec.restartPolicy
can only be Always
for this type of workload
replicas
Define the number of replicas
Key | workload.$name.replicas |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | 1 |
Example
revisionHistoryLimit
Define the number of history revisions
Key | workload.$name.revisionHistoryLimit |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | 3 |
Example
strategy
Define the strategy of the workload
Key | workload.$name.strategy |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | RollingUpdate |
Valid Values:
OnDelete
RollingUpdate
Example
rollingUpdate
Define the rollingUpdate options
Key | workload.$name.rollingUpdate |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
rollingUpdate.maxUnavailable
Define the maxUnavailable
Key | workload.$name.rollingUpdate.maxUnavailable |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | unset |
Example
rollingUpdate.partition
Define the partition
Key | workload.$name.rollingUpdate.partition |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | unset |
Example
Notes:
View common keys
of workload
in workload Documentation.
Value of
workload.[workload-name].podSpec.restartPolicy
can only beAlways
for this type of workload