diff --git a/charts/graylog/Chart.yaml b/charts/graylog/Chart.yaml index 6eb4174..3247f44 100755 --- a/charts/graylog/Chart.yaml +++ b/charts/graylog/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: graylog home: https://www.graylog.org -version: 2.3.2 +version: 2.3.3 appVersion: 5.0.3 description: Graylog is the centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes diff --git a/charts/graylog/templates/statefulset.yaml b/charts/graylog/templates/statefulset.yaml index 58b7f89..0ce8f33 100644 --- a/charts/graylog/templates/statefulset.yaml +++ b/charts/graylog/templates/statefulset.yaml @@ -15,6 +15,10 @@ spec: {{ include "graylog.selectorLabels" . | indent 6 }} updateStrategy: type: {{ .Values.graylog.updateStrategy }} + {{- if .Values.graylog.maxUnavailable }} + rollingUpdate: + maxUnavailable: {{ .Values.graylog.maxUnavailable }} + {{- end }} template: metadata: labels: diff --git a/charts/graylog/values.yaml b/charts/graylog/values.yaml index d25d9df..c73ecae 100644 --- a/charts/graylog/values.yaml +++ b/charts/graylog/values.yaml @@ -356,6 +356,10 @@ graylog: ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies ## updateStrategy: RollingUpdate + ## Control the maximum number of Pods that can be unavailable during an update + ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#maximum-unavailable-pods + ## + # maxUnavailable: 10% ## Graylog server pod termination grace period ##