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:
@@ -92,6 +92,8 @@ spec:
|
|||||||
{{- if eq .Values.deployment.type "Deployment" }}
|
{{- if eq .Values.deployment.type "Deployment" }}
|
||||||
replicas: {{ .Values.pod.replicas.fluentd }}
|
replicas: {{ .Values.pod.replicas.fluentd }}
|
||||||
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}
|
{{ 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 }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
@@ -439,6 +439,12 @@ pod:
|
|||||||
rolling_update:
|
rolling_update:
|
||||||
max_unavailable: 1
|
max_unavailable: 1
|
||||||
max_surge: 3
|
max_surge: 3
|
||||||
|
daemonsets:
|
||||||
|
pod_replacement_strategy: RollingUpdate
|
||||||
|
fluentd:
|
||||||
|
enabled: true
|
||||||
|
min_ready_seconds: 0
|
||||||
|
max_unavailable: 1
|
||||||
termination_grace_period:
|
termination_grace_period:
|
||||||
fluentd:
|
fluentd:
|
||||||
timeout: 30
|
timeout: 30
|
||||||
|
|||||||
Reference in New Issue
Block a user