Skip to content

Commit 1e740c0

Browse files
authored
Merge pull request #1569 from truongnht/add-chunk-size-helm-chart
Support setting fluent-bit bufferChunkSize for tail input
2 parents b16f035 + 195ae06 commit 1e740c0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/fluent-operator/templates/fluentbit-clusterinput-tail.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ spec:
2828
{{- with .Values.fluentbit.input.tail.bufferMaxSize }}
2929
bufferMaxSize: {{ . | quote }}
3030
{{- end }}
31+
{{- with .Values.fluentbit.input.tail.bufferChunkSize }}
32+
bufferChunkSize: {{ . | quote }}
33+
{{- end }}
3134
skipLongLines: {{ .Values.fluentbit.input.tail.skipLongLines }}
3235
db: /fluent-bit/tail/pos.db
3336
dbSync: Normal

charts/fluent-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ fluentbit:
225225
refreshIntervalSeconds: 10
226226
memBufLimit: 100MB
227227
bufferMaxSize: ""
228+
bufferChunkSize: ""
228229
path: "/var/log/containers/*.log"
229230
skipLongLines: true
230231
readFromHead: false

0 commit comments

Comments
 (0)