Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

fix: fluentbit should not keep retrying indefinitely #589

Merged
merged 3 commits into from
Oct 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions addons/fluentbit/fluentbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
kubeaddons.mesosphere.io/name: fluentbit
annotations:
catalog.kubeaddons.mesosphere.io/addon-revision: "1.5.6-2"
catalog.kubeaddons.mesosphere.io/addon-revision: "1.5.6-3"
appversion.kubeaddons.mesosphere.io/fluentbit: "1.5.6"
values.chart.helm.kubeaddons.mesosphere.io/fluentbit: "https://raw.githubusercontent.com/fluent/helm-charts/5e20fbc/charts/fluent-bit/values.yaml"
# the older versions were being deployed from stable/fluent-bit
Expand Down Expand Up @@ -177,7 +177,10 @@ spec:
Time_Key @ts
Logstash_Format On
Logstash_Prefix kubernetes_audit
Retry_Limit False
# A small fraction of audit logs will be rejected by Elasticsearch because values may have an inconsistent type.
# We set a low retry limit here in order to prevent fluent-bit from backing up while it repeatedly retries flushing these logs.
# See https://github.com/uken/fluent-plugin-elasticsearch#random-400---rejected-by-elasticsearch-is-occured-why.
Retry_Limit 1
Buffer_Size 512KB
[OUTPUT]
Name es
Expand All @@ -188,7 +191,7 @@ spec:
Time_Key @ts
Logstash_Format On
Logstash_Prefix kubernetes_cluster
Retry_Limit False
Retry_Limit 10
Buffer_Size 512KB
[OUTPUT]
Name es
Expand All @@ -199,7 +202,7 @@ spec:
Time_Key @ts
Logstash_Format On
Logstash_Prefix kubernetes_host
Retry_Limit False
Retry_Limit 10
Buffer_Size 512KB
[OUTPUT]
Name es
Expand All @@ -210,7 +213,7 @@ spec:
Time_Key @ts
Logstash_Format On
Logstash_Prefix kubernetes_host_kernel
Retry_Limit False
Retry_Limit 10
Buffer_Size 512KB

## https://docs.fluentbit.io/manual/pipeline/parsers
Expand Down