[stable/fluent-bit] add support for affinity (#10942)

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen
2019-01-28 05:58:07 -08:00
committed by Kubernetes Prow Robot
parent e296875efd
commit a123429d3f
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: fluent-bit
version: 1.3.3
version: 1.4.0
appVersion: 1.0.3
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
+1
View File
@@ -113,6 +113,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an
| `dnsPolicy` | Specifies the dnsPolicy to use | `ClusterFirst` |
| `tolerations` | Optional daemonset tolerations | `NULL` |
| `nodeSelector` | Node labels for fluent-bit pod assignment | `NULL` |
| `affinity` | Expressions for affinity | `NULL` |
| `metrics.enabled` | Specifies whether a service for metrics should be exposed | `false` |
| `metrics.service.annotations` | Optional metrics service annotations | `NULL` |
| `metrics.service.port` | Port on where metrics should be exposed | `2020` |
+6 -2
View File
@@ -64,7 +64,7 @@ spec:
{{- else }}
- name: config
mountPath: /fluent-bit/etc/fluent-bit.conf
subPath: fluent-bit.conf
subPath: fluent-bit.conf
- name: config
mountPath: /fluent-bit/etc/fluent-bit-service.conf
subPath: fluent-bit-service.conf
@@ -77,7 +77,7 @@ spec:
- name: config
mountPath: /fluent-bit/etc/fluent-bit-output.conf
subPath: fluent-bit-output.conf
{{- if .Values.parsers.enabled }}
- name: config
mountPath: /fluent-bit/etc/parsers_custom.conf
@@ -106,6 +106,10 @@ spec:
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{ if .Values.affinity }}
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
+1
View File
@@ -176,6 +176,7 @@ tolerations: []
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
affinity: {}
input:
tail: