diff --git a/charts/node/templates/statefulset.yaml b/charts/node/templates/statefulset.yaml index b5ab180d..57c2aec5 100644 --- a/charts/node/templates/statefulset.yaml +++ b/charts/node/templates/statefulset.yaml @@ -31,6 +31,7 @@ spec: {{- if eq .Values.node.updateStrategy.type "RollingUpdate" }} rollingUpdate: maxUnavailable: {{ .Values.node.updateStrategy.maxUnavailable | default 1 }} + partition: {{ .Values.node.updateStrategy.partition | default 0 }} {{- end }} {{- end }} template: diff --git a/charts/node/values.yaml b/charts/node/values.yaml index 9e6c17d2..603ade24 100644 --- a/charts/node/values.yaml +++ b/charts/node/values.yaml @@ -169,6 +169,11 @@ node: type: "RollingUpdate" # -- Can be an int or a % maxUnavailable: 1 + # -- Partitions/Instances to rollout the changes to + # -- 0 means all pods + # -- 1 means first pod onwards (i.e. if 4 replicas run, issue an update + # -- to pods 1, 2 and 3) + partition: 0 # -- Use the file defined in `node.customChainspecPath` as the chainspec. Ensure that the file is either mounted or generated with an init container. customChainspec: false