Commit 93ef2f2f authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 @piosz
parents 53a5ee79 1d1c1267
...@@ -28,7 +28,10 @@ spec: ...@@ -28,7 +28,10 @@ spec:
command: command:
- '/bin/sh' - '/bin/sh'
- '-c' - '-c'
- '/usr/sbin/td-agent 2>&1 >> /var/log/fluentd.log' - '/usr/sbin/td-agent $FLUENTD_ARGS'
env:
- name: FLUENTD_AGRS
value: -q
resources: resources:
limits: limits:
memory: 200Mi memory: 200Mi
......
...@@ -36,10 +36,10 @@ spec: ...@@ -36,10 +36,10 @@ spec:
command: command:
- '/bin/sh' - '/bin/sh'
- '-c' - '-c'
- '/run.sh $FLUENTD_ARGS 2>&1 >>/var/log/fluentd.log' - '/run.sh $FLUENTD_ARGS'
env: env:
- name: FLUENTD_ARGS - name: FLUENTD_ARGS
value: --no-supervisor value: --no-supervisor -q
resources: resources:
limits: limits:
memory: 300Mi memory: 300Mi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment