Fluentd: Add support for daemonset update strategy
This adds support for configuring fluentd's update strategy when deployed as a daemonset, as this was previously missed when the changes to support both daemonsets and deployments were made Change-Id: I5ac4fbfc0e64caaf207de42cd71c893f8d0f6ff1 Signed-off-by: Steve Wilkerson <sw5822@att.com>
This commit is contained in:
parent
43c89812c5
commit
6c3cd0a8ce
@ -92,6 +92,8 @@ spec:
|
||||
{{- if eq .Values.deployment.type "Deployment" }}
|
||||
replicas: {{ .Values.pod.replicas.fluentd }}
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}
|
||||
{{- else }}
|
||||
{{ tuple $envAll "fluentd" | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
|
@ -439,6 +439,12 @@ pod:
|
||||
rolling_update:
|
||||
max_unavailable: 1
|
||||
max_surge: 3
|
||||
daemonsets:
|
||||
pod_replacement_strategy: RollingUpdate
|
||||
fluentd:
|
||||
enabled: true
|
||||
min_ready_seconds: 0
|
||||
max_unavailable: 1
|
||||
termination_grace_period:
|
||||
fluentd:
|
||||
timeout: 30
|
||||
|
Loading…
x
Reference in New Issue
Block a user