Add statefulset update strategy to elasticsearch data statefulset
This adds the helm-toolkit function for defining the update strategy for the elasticsearch-data statefulset and sets the chart default to RollingUpdate Change-Id: Ia10ea7bf000474e597bdb36778118a96d85b93c1
This commit is contained in:
parent
038a6e58ae
commit
36d03133f8
@ -66,6 +66,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
{{ tuple $envAll "elasticsearch" "data" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
{{ tuple $envAll "elasticsearch" "data" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_statefulset" | indent 2 }}
|
||||||
serviceName: {{ tuple "elasticsearch" "data" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
serviceName: {{ tuple "elasticsearch" "data" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||||
replicas: {{ .Values.pod.replicas.data }}
|
replicas: {{ .Values.pod.replicas.data }}
|
||||||
selector:
|
selector:
|
||||||
|
@ -200,6 +200,8 @@ pod:
|
|||||||
client: 3
|
client: 3
|
||||||
lifecycle:
|
lifecycle:
|
||||||
upgrades:
|
upgrades:
|
||||||
|
statefulsets:
|
||||||
|
pod_replacement_strategy: RollingUpdate
|
||||||
deployments:
|
deployments:
|
||||||
revision_history: 3
|
revision_history: 3
|
||||||
pod_replacement_strategy: RollingUpdate
|
pod_replacement_strategy: RollingUpdate
|
||||||
|
Loading…
Reference in New Issue
Block a user