We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d2db9 commit afb6ed2Copy full SHA for afb6ed2
Dockerfile
@@ -19,3 +19,11 @@ RUN set -e \
19
#&& rm -rf /var/lib/apt/lists/* \
20
#&& rm -rf /tmp/* /var/tmp/* $GEM_HOME/cache/*.gem \
21
&& echo OK
22
+
23
+# Patch configuration files:
24
+# - Include kube-system.conf after the configs of all other namespaces.
25
+# The original behaviour was to include kube-system.conf before all other namespaces.
26
+# - Disable inotify based watcher (i.e. only use timers) for all tail plugins.
27
+RUN set -e \
28
+ && sed -i '/^#.*kube-system/,/^$/{H; d} ; /#.*namespace annotations/,/^$/{ /^$/G }' /templates/fluent.conf \
29
+ && sed -i '/@type tail/a\ \ enable_stat_watcher false' /templates/kubernetes.conf
0 commit comments