Просмотр исходного кода

Merge pull request #10697 from joggeli34/master

Ivan Dyachkov 2 лет назад
Родитель
Сommit
992789005e

+ 3 - 0
deploy/charts/emqx-enterprise/templates/StatefulSet.yaml

@@ -32,6 +32,9 @@ spec:
   {{- end }}
   updateStrategy:
     type: RollingUpdate
+  {{- if .Values.minReadySeconds }}
+  minReadySeconds: {{ .Values.minReadySeconds }}
+  {{- end }}
   replicas: {{ .Values.replicaCount }}
   selector:
     matchLabels:

+ 3 - 0
deploy/charts/emqx-enterprise/values.yaml

@@ -35,6 +35,9 @@ serviceAccount:
 ## Forces the recreation of pods during helm upgrades. This can be useful to update configuration values even if the container image did not change.
 recreatePods: false
 
+## Sets the minReadySeconds parameter on the stateful set. This can be used to add delay between restart / updates between the single pods.
+minReadySeconds:
+
 clusterDomain: cluster.local
 
 podAnnotations: {}

+ 3 - 0
deploy/charts/emqx/templates/StatefulSet.yaml

@@ -32,6 +32,9 @@ spec:
   {{- end }}
   updateStrategy:
     type: RollingUpdate
+  {{- if .Values.minReadySeconds }}
+  minReadySeconds: {{ .Values.minReadySeconds }}
+  {{- end }}
   replicas: {{ .Values.replicaCount }}
   selector:
     matchLabels:

+ 3 - 0
deploy/charts/emqx/values.yaml

@@ -35,6 +35,9 @@ serviceAccount:
 ## Forces the recreation of pods during helm upgrades. This can be useful to update configuration values even if the container image did not change.
 recreatePods: false
 
+## Sets the minReadySeconds parameter on the stateful set. This can be used to add delay between restart / updates between the single pods.
+minReadySeconds:
+
 clusterDomain: cluster.local
 
 podAnnotations: {}