Fix fluentd-gcp image config by avoiding processing its own logs

This commit is contained in:
Mik Vyatskov
2017-01-09 10:05:33 +01:00
parent de59ede6b2
commit 57ec7b77fd
2 changed files with 10 additions and 1 deletions

View File

@@ -100,7 +100,9 @@
# problem yet to be solved as secrets are not usable in static pods which the fluentd
# pod must be until a per-node controller is available in Kubernetes.
# Do not directly collect fluentd's own logs to avoid infinite loops.
# Prevent fluentd from handling records containing its own logs. Otherwise
# it can lead to an infinite loop, when error in sending one message generates
# another message which also fails to be sent and so on.
<match fluent.**>
type null
</match>