Make fluentd log to stdio instead of a dedicated file

This commit is contained in:
Mik Vyatskov 2017-06-21 20:14:43 +02:00
parent 3ea93b2753
commit 1d1c126783
2 changed files with 6 additions and 3 deletions

View File

@ -27,7 +27,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

View File

@ -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