mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Let fluentd-es log by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
This commit is contained in:
parent
b3154a7815
commit
d02dc64036
@ -40,4 +40,4 @@ RUN /usr/sbin/td-agent-gem install fluent-plugin-record-reformer
|
||||
COPY td-agent.conf /etc/td-agent/td-agent.conf
|
||||
|
||||
# Run the Fluentd service.
|
||||
CMD /usr/sbin/td-agent "$FLUENTD_ARGS" > /var/log/td-agent/td-agent.log
|
||||
CMD /usr/sbin/td-agent "$FLUENTD_ARGS"
|
||||
|
@ -1,7 +1,7 @@
|
||||
.PHONY: build push
|
||||
|
||||
IMAGE = fluentd-elasticsearch
|
||||
TAG = 1.9
|
||||
TAG = 1.10
|
||||
|
||||
build:
|
||||
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
|
||||
|
@ -12,7 +12,7 @@ spec:
|
||||
cpu: 100m
|
||||
env:
|
||||
- name: "FLUENTD_ARGS"
|
||||
value: "-qq"
|
||||
value: "-q"
|
||||
volumeMounts:
|
||||
- name: varlog
|
||||
mountPath: /varlog
|
||||
|
Loading…
Reference in New Issue
Block a user