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:
|
||||
{{ tuple $envAll "elasticsearch" "data" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_statefulset" | indent 2 }}
|
||||
serviceName: {{ tuple "elasticsearch" "data" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||
replicas: {{ .Values.pod.replicas.data }}
|
||||
selector:
|
||||
|
@ -200,6 +200,8 @@ pod:
|
||||
client: 3
|
||||
lifecycle:
|
||||
upgrades:
|
||||
statefulsets:
|
||||
pod_replacement_strategy: RollingUpdate
|
||||
deployments:
|
||||
revision_history: 3
|
||||
pod_replacement_strategy: RollingUpdate
|
||||
|
Loading…
Reference in New Issue
Block a user