Commit 3e841510 authored by Alex Robinson's avatar Alex Robinson

Merge pull request #7393 from satnam6502/fluentd-gcp-image

New Fluentd to Cloud Logging Dockerfile with args
parents 5b5525dc 20a0905d
...@@ -21,4 +21,4 @@ RUN apt-get -q update && \ ...@@ -21,4 +21,4 @@ RUN apt-get -q update && \
COPY google-fluentd.conf /etc/google-fluentd/google-fluentd.conf COPY google-fluentd.conf /etc/google-fluentd/google-fluentd.conf
# Start Fluentd to pick up our config that watches Docker container logs. # Start Fluentd to pick up our config that watches Docker container logs.
CMD /usr/sbin/google-fluentd -qq > /var/log/google-fluentd.log CMD /usr/sbin/google-fluentd "$FLUENTD_ARGS" > /var/log/google-fluentd.log
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.PHONY: build push .PHONY: build push
TAG = 1.3 TAG = 1.4
build: build:
docker build -t gcr.io/google_containers/fluentd-gcp:$(TAG) . docker build -t gcr.io/google_containers/fluentd-gcp:$(TAG) .
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
type tail type tail
format none format none
time_key time time_key time
path /varlog/containers/*/*.log path /varlog/containers/*.log
pos_file /varlog/gcp-containers.log.pos pos_file /varlog/gcp-containers.log.pos
time_format %Y-%m-%dT%H:%M:%S time_format %Y-%m-%dT%H:%M:%S
tag kubernetes.* tag kubernetes.*
......
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