mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-20 09:05:26 +00:00
Make fluentd log to stdio instead of a dedicated file
This commit is contained in:
parent
3ea93b2753
commit
1d1c126783
@ -27,7 +27,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:
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user