mirror of https://github.com/k3s-io/k3s
Merge pull request #47860 from crassirostris/fluentd-log-to-stdio
Automatic merge from submit-queue (batch tested with PRs 47860, 47170) Make fluentd log to stdio instead of a dedicated file Lower verbosity also, to reduce volume of system logs exported to the backend. Fix https://github.com/kubernetes/kubernetes/issues/43772 /cc @pioszpull/6/head
commit
93ef2f2f59
|
@ -28,7 +28,10 @@ spec:
|
|||
command:
|
||||
- '/bin/sh'
|
||||
- '-c'
|
||||
- '/usr/sbin/td-agent 2>&1 >> /var/log/fluentd.log'
|
||||
- '/usr/sbin/td-agent $FLUENTD_ARGS'
|
||||
env:
|
||||
- name: FLUENTD_AGRS
|
||||
value: -q
|
||||
resources:
|
||||
limits:
|
||||
memory: 200Mi
|
||||
|
|
|
@ -36,10 +36,10 @@ spec:
|
|||
command:
|
||||
- '/bin/sh'
|
||||
- '-c'
|
||||
- '/run.sh $FLUENTD_ARGS 2>&1 >>/var/log/fluentd.log'
|
||||
- '/run.sh $FLUENTD_ARGS'
|
||||
env:
|
||||
- name: FLUENTD_ARGS
|
||||
value: --no-supervisor
|
||||
value: --no-supervisor -q
|
||||
resources:
|
||||
limits:
|
||||
memory: 300Mi
|
||||
|
|
Loading…
Reference in New Issue