Added ability to configure daemonset update strategy (#9911)

Signed-off-by: sanjevsunder <sanjev.sunder@servicerocket.com>
This commit is contained in:
Sanjev Moganadas
2018-12-12 08:30:54 -08:00
committed by Kubernetes Prow Robot
parent fb73f75afa
commit 32dafbe0c6
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: fluentd-cloudwatch
version: 0.5.3
version: 0.6.3
appVersion: v0.12.43-cloudwatch
description: A Fluentd CloudWatch Helm chart for Kubernetes.
home: https://www.fluentd.org/
+1
View File
@@ -67,6 +67,7 @@ The following table lists the configurable parameters of the Fluentd Cloudwatch
| `rbac.serviceAccountName` | existing ServiceAccount to use (ignored if rbac.create=true) | `default` |
| `tolerations` | Add tolerations | `[]` |
| `extraVars` | Add pod environment variables (must be specified as a single line object) | `[]` |
| `updateStrategy` | Define daemonset update strategy | `OnDelete` |
Starting with fluentd-kubernetes-daemonset v0.12.43-cloudwatch, the container runs as user fluentd. To be able to write pos files to the host system, you'll need to run fluentd as root. Add the following extraVars value to run as root.
@@ -85,3 +85,5 @@ spec:
tolerations:
{{ toYaml .Values.tolerations | indent 6 }}
{{- end }}
updateStrategy:
{{ toYaml .Values.updateStrategy | indent 4 }}
+3
View File
@@ -43,6 +43,9 @@ rbac:
extraVars: []
# - "{ name: NODE_NAME, valueFrom: { fieldRef: { fieldPath: spec.nodeName } } }"
updateStrategy:
type: OnDelete
fluentdConfig: |
<match fluent.**>
type null