File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RUN set -e \
23
23
# Patch configuration files:
24
24
# - Include kube-system.conf after the configs of all other namespaces.
25
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.
26
+ # - https://github.com/vmware/kube-fluentd-operator/pull/91
27
27
RUN set -e \
28
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
29
+ && sed -i '/# cri-o/,/# docker/{ s!format1.*!format1 /^(?<partials>([^ \\ n]+ (stdout|stderr) P [^ \\ n]+ \\ n)*)/!; s!format2.*!format2 /(?<time>[^ \\ n]+) (?<stream>stdout|stderr) F (?<log>[^ \\ n]*)/! } ' /templates/kubernetes.conf
You can’t perform that action at this time.
0 commit comments