Skip to content

Commit

Permalink
[stable/fluent-bit] Parametrize flush interval and log level in the S… (
Browse files Browse the repository at this point in the history
helm#11305)

* [stable/fluent-bit] Parametrize flush interval and log level in the SERVICE section

Signed-off-by: Marcin Kubrak <[email protected]>

* [stable/fluent-bit] bump chart version

Signed-off-by: Marcin Kubrak <[email protected]>

* [stable/fluent-bit] Bump minor version instead of the patch version

Signed-off-by: Marcin Kubrak <[email protected]>
  • Loading branch information
manzoon authored and k8s-ci-robot committed Feb 11, 2019
1 parent e41880e commit a5d1dff
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: fluent-bit
version: 1.6.0
version: 1.7.0
appVersion: 1.0.4
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
Expand Down
2 changes: 2 additions & 0 deletions stable/fluent-bit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ The following table lists the configurable parameters of the Fluent-Bit chart an
| `extraPorts` | List of extra ports | |
| `extraVolumeMounts` | Mount an extra volume, required to mount ssl certificates when elasticsearch has tls enabled | |
| `extraVolume` | Extra volume | |
| `service.flush` | Interval to flush output (seconds) | `1` |
| `service.logLevel` | Diagnostic level (error/warning/info/debug/trace) | `info` |
| `filter.enableExclude` | Enable the use of monitoring for a pod annotation of `fluentbit.io/exclude: true`. If present, discard logs from that pod. | `true` |
| `filter.enableParser` | Enable the use of monitoring for a pod annotation of `fluentbit.io/parser: parser_name`. parser_name must be the name of a parser contained within parsers.conf | `true` |
| `filter.kubeURL` | Optional custom configmaps | `https://kubernetes.default.svc:443` |
Expand Down
4 changes: 2 additions & 2 deletions stable/fluent-bit/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ metadata:
data:
fluent-bit-service.conf: |-
[SERVICE]
Flush 1
Flush {{ .Values.service.flush }}
Daemon Off
Log_Level info
Log_Level {{ .Values.service.logLevel }}
Parsers_File parsers.conf
{{- if .Values.parsers.enabled }}
Parsers_File parsers_custom.conf
Expand Down
4 changes: 4 additions & 0 deletions stable/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ tolerations: []
nodeSelector: {}
affinity: {}

service:
flush: 1
logLevel: info

input:
tail:
memBufLimit: 5MB
Expand Down

0 comments on commit a5d1dff

Please sign in to comment.