From 9cccbc80a9d9e8293f2f12afed993267e3113f29 Mon Sep 17 00:00:00 2001 From: Micah Nagel <micah.nagel@parsons.com> Date: Tue, 16 Aug 2022 11:40:15 -0600 Subject: [PATCH] Fluentbit: Fix storage buffer limits/Loki outputs --- chart/templates/logging/fluentbit/values.yaml | 6 ++++++ chart/values.yaml | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/chart/templates/logging/fluentbit/values.yaml b/chart/templates/logging/fluentbit/values.yaml index 4cd1a609d7..25436986a7 100644 --- a/chart/templates/logging/fluentbit/values.yaml +++ b/chart/templates/logging/fluentbit/values.yaml @@ -78,15 +78,21 @@ config: auto_kubernetes_labels on Retry_Limit False tls Off + storage.total_limit_size {{ dig "storage" "total_limit_size" "10G" .Values.fluentbit.values }} [OUTPUT] name loki match host.* labels job=fluentbit, container=$kubernetes['container_name'], pod=$kubernetes['pod_name'], namespace=$kubernetes['namespace_name'], node_name=$kubernetes['host'] + {{- if eq .Values.loki.strategy "monolith" }} host logging-loki + {{- else }} + host logging-loki-write + {{- end }} port 3100 auto_kubernetes_labels on Retry_Limit False tls Off + storage.total_limit_size {{ dig "storage" "total_limit_size" "10G" .Values.fluentbit.values }} {{- end }} {{- end }} {{- end }} diff --git a/chart/values.yaml b/chart/values.yaml index ce640b8abf..c63ee51216 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -472,7 +472,8 @@ fluentbit: git: repo: https://repo1.dso.mil/platform-one/big-bang/apps/core/fluentbit.git path: "./chart" - tag: "0.20.3-bb.0" + # tag: "0.20.3-bb.1" + branch: "storage-buffer" # -- Flux reconciliation overrides specifically for the Fluent-Bit Package flux: {} -- GitLab