Handle priorityClassName for fluentd-cloudwatch. (#13847)

Signed-off-by: Yannig Perré <yannig.perre@aios.sh>
This commit is contained in:
Yannig
2019-05-22 05:12:08 -07:00
committed by Kubernetes Prow Robot
parent 91e81d81cb
commit 9a9689bef0
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: fluentd-cloudwatch
version: 0.9.0
version: 0.9.1
appVersion: v1.3.3-debian-cloudwatch-1.0
description: A Fluentd CloudWatch Helm chart for Kubernetes.
home: https://www.fluentd.org/
+1
View File
@@ -71,6 +71,7 @@ The following table lists the configurable parameters of the Fluentd Cloudwatch
| `updateStrategy` | Define daemonset update strategy | `OnDelete` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `affinity` | Node affinity for pod assignment | `{}` |
| `priorityClassName` | Set priority class for daemon set | `nil` |
If using 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.
@@ -71,6 +71,9 @@ spec:
readOnly: true
- name: config
mountPath: /fluentd/etc
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
terminationGracePeriodSeconds: 30
volumes:
- name: varlog
+5
View File
@@ -50,6 +50,11 @@ podSecurityContext: {}
podAnnotations: {}
# Pod priority
# Sets PriorityClassName if defined.
#
# priorityClassName: "my-priority-class"
awsRegion: us-east-1
awsRole:
awsAccessKeyId: