Added nodeselector and tolerations support for fluent-bit (#1846)

This commit is contained in:
Niels
2017-08-24 09:27:26 -05:00
committed by Michael Goodness
parent 19624e8726
commit ddc781fa53
3 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: fluent-bit
version: 0.1.6
version: 0.1.7
appVersion: 0.11.17
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
@@ -33,6 +33,14 @@ spec:
readOnly: true
{{ end }}
terminationGracePeriodSeconds: 10
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
volumes:
- name: varlog
hostPath:
+14
View File
@@ -25,3 +25,17 @@ resources:
requests:
cpu: 100m
memory: 100Mi
## Node tolerations for fluent-bit scheduling to nodes with taints
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
##
tolerations: []
#- key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
## Node labels for fluent-bit pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}