mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #2247 from satnam6502/fluentd-es-image
Change tag to latest and use correct pos file syntax for detection of log rotation
This commit is contained in:
commit
b4c23f8253
@ -1,6 +1,6 @@
|
||||
.PHONY: build push
|
||||
|
||||
TAG = 1.0
|
||||
TAG = latest
|
||||
|
||||
build:
|
||||
sudo docker build -t kubernetes/fluentd-elasticsearch:$(TAG) .
|
||||
|
@ -38,6 +38,7 @@
|
||||
format json
|
||||
time_key time
|
||||
path /var/lib/docker/containers/*/*-json.log
|
||||
pos_file /var/lib/docker/containers/containers.log.pos
|
||||
time_format %Y-%m-%dT%H:%M:%S
|
||||
tag docker.container.*
|
||||
</source>
|
||||
|
Loading…
Reference in New Issue
Block a user