From 7a0265e62039b8018affbb592f35384b0b224d67 Mon Sep 17 00:00:00 2001 From: Naseem Date: Mon, 5 Nov 2018 06:21:53 -0500 Subject: [PATCH] Be able to adjust mem_buf_limit (#8976) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Be able to adjust mem_buf_limit Signed-off-by: Naseem Ullah * Update Chart.yaml Signed-off-by: Reinhard Nägele --- stable/fluent-bit/Chart.yaml | 2 +- stable/fluent-bit/README.md | 1 + stable/fluent-bit/templates/config.yaml | 2 +- stable/fluent-bit/values.yaml | 4 ++++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/stable/fluent-bit/Chart.yaml b/stable/fluent-bit/Chart.yaml index d5cddab4f1..797bce782d 100755 --- a/stable/fluent-bit/Chart.yaml +++ b/stable/fluent-bit/Chart.yaml @@ -1,5 +1,5 @@ name: fluent-bit -version: 0.15.1 +version: 0.16.0 appVersion: 0.14.4 description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX keywords: diff --git a/stable/fluent-bit/README.md b/stable/fluent-bit/README.md index 0b49710456..0dcca675b8 100644 --- a/stable/fluent-bit/README.md +++ b/stable/fluent-bit/README.md @@ -91,6 +91,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an | `image.fluent_bit.tag` | Image tag | `0.14.4` | | `image.pullPolicy` | Image pull policy | `Always` | | `image.pullSecrets` | Specify image pull secrets | `nil` | +| `input.tail.memBufLimit` | Specify Mem_Buf_Limit in tail input | `5MB` | | `rbac.create` | Specifies whether RBAC resources should be created. | `true` | | `serviceAccount.create` | Specifies whether a ServiceAccount should be created. | `true` | | `serviceAccount.name` | The name of the ServiceAccount to use. | `NULL` | diff --git a/stable/fluent-bit/templates/config.yaml b/stable/fluent-bit/templates/config.yaml index 875c7a4d5e..0b73beea2c 100644 --- a/stable/fluent-bit/templates/config.yaml +++ b/stable/fluent-bit/templates/config.yaml @@ -30,7 +30,7 @@ data: Parser docker Tag {{ .Values.filter.kubeTag }}.* Refresh_Interval 5 - Mem_Buf_Limit 5MB + Mem_Buf_Limit {{ .Values.input.tail.memBufLimit }} Skip_Long_Lines On {{- if .Values.trackOffsets }} DB /tail-db/tail-containers-state.db diff --git a/stable/fluent-bit/values.yaml b/stable/fluent-bit/values.yaml index 3e8e1f9f3b..70fedd8990 100644 --- a/stable/fluent-bit/values.yaml +++ b/stable/fluent-bit/values.yaml @@ -135,6 +135,10 @@ tolerations: [] ## nodeSelector: {} +input: + tail: + memBufLimit: 5MB + filter: kubeURL: https://kubernetes.default.svc:443 kubeCAFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt