fluent-bit: allow use of hostNetwork (#6217)

* fluent-bit: allow use of hostNetwork

Signed-off-by: Nedim Haveric <nedim.haveric@polyconseil.fr>

* fluent-bit: Additional default values

Signed-off-by: Nedim Haveric <nedim.haveric@polyconseil.fr>
This commit is contained in:
eviln1
2018-12-14 05:44:24 -08:00
committed by Kubernetes Prow Robot
parent d57b8a992c
commit 5db16060ce
4 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: fluent-bit
version: 1.0.2
version: 1.0.3
appVersion: 0.14.9
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
+2
View File
@@ -103,6 +103,8 @@ The following table lists the configurable parameters of the Fluent-Bit chart an
| `serviceAccount.name` | The name of the ServiceAccount to use. | `NULL` |
| `rawConfig` | Raw contents of fluent-bit.conf | `@INCLUDE fluent-bit-service.conf`<br>`@INCLUDE fluent-bit-input.conf`<br>`@INCLUDE fluent-bit-filter.conf`<br>` @INCLUDE fluent-bit-output.conf` |
| `resources` | Pod resource requests & limits | `{}` |
| `hostNetwork` | Use host's network | `false` |
| `dnsPolicy` | Specifies the dnsPolicy to use | `ClusterFirst` |
| `tolerations` | Optional daemonset tolerations | `NULL` |
| `nodeSelector` | Node labels for fluent-bit pod assignment | `NULL` |
| `metrics.enabled` | Specifies whether a service for metrics should be exposed | `false` |
@@ -25,6 +25,8 @@ spec:
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 8 }}
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
dnsPolicy: {{ .Values.dnsPolicy }}
serviceAccountName: {{ template "fluent-bit.serviceAccountName" . }}
containers:
- name: fluent-bit
+7
View File
@@ -139,6 +139,13 @@ resources: {}
# cpu: 10m
# memory: 8Mi
# When enabled, pods will bind to the node's network namespace.
hostNetwork: false
# Which DNS policy to use for the pod.
# Consider switching to 'ClusterFirstWithHostNet' when 'hostNetwork' is enabled.
dnsPolicy: ClusterFirst
## Node tolerations for fluent-bit scheduling to nodes with taints
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
##