mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/fluent-bit] add support for affinity (#10942)
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e296875efd
commit
a123429d3f
@@ -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:
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -176,6 +176,7 @@ tolerations: []
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
nodeSelector: {}
|
||||
affinity: {}
|
||||
|
||||
input:
|
||||
tail:
|
||||
|
||||
Reference in New Issue
Block a user