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:
Alex Robinson 2015-08-26 21:38:37 +00:00
parent b3154a7815
commit d02dc64036
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -12,7 +12,7 @@ spec:
cpu: 100m
env:
- name: "FLUENTD_ARGS"
value: "-qq"
value: "-q"
volumeMounts:
- name: varlog
mountPath: /varlog