From 7ea96236622cc37d4075d55b1d81f4dd6a1f9703 Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Fri, 13 Jul 2018 09:36:11 -0500 Subject: [PATCH] Fluent-logging: Update default fluentbit configuration As of 0.12.14, fluentbit exposes a flag for setting the db_sync behavior for writing the location of the tail input to its sqlite database. The default setting is Full, which introduces additional synchronizations before and after a transaction. This has the potential to negatively affect disk performance with the extra synchronizations. This moves the setting in the chart to Normal, which performs fewer synchronizations and still maintains a high level of safety with status writes Change-Id: I3b437edd6bd7501ef37ce06f0a561bd1747eb290 --- fluent-logging/values.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fluent-logging/values.yaml b/fluent-logging/values.yaml index 5e0f2aed8..3b7a73280 100644 --- a/fluent-logging/values.yaml +++ b/fluent-logging/values.yaml @@ -103,7 +103,7 @@ conf: fluentbit: - service: header: service - Flush: 5 + Flush: 30 Daemon: Off Log_Level: info Parsers_File: parsers.conf @@ -115,6 +115,9 @@ conf: Parser: docker DB: /var/log/flb_kube.db Mem_Buf_Limit: 5MB + DB.Sync: Normal + Buffer_Chunk_Size: 1M + Buffer_Max_Size: 1M - kube_filter: header: filter Name: kubernetes