mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 18:52:38 +00:00
Adjust POS file for Fluentd to Cloud Logging
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
.PHONY: build push
|
||||
|
||||
|
||||
TAG = 1.1
|
||||
TAG = 1.2
|
||||
|
||||
build:
|
||||
sudo docker build -t kubernetes/fluentd-gcp:$(TAG) .
|
||||
|
@@ -17,7 +17,7 @@
|
||||
format none
|
||||
time_key time
|
||||
path /var/lib/docker/containers/*/*-json.log
|
||||
pos_file /var/lib/docker/containers/containers.log.pos
|
||||
pos_file /var/lib/docker/containers/gcp-containers.log.pos
|
||||
time_format %Y-%m-%dT%H:%M:%S
|
||||
tag docker.*
|
||||
read_from_head true
|
||||
@@ -37,7 +37,7 @@
|
||||
format none
|
||||
time_key time
|
||||
path /varlog/kubelet.log
|
||||
pos_file /varlog/kubelet.log.pos
|
||||
pos_file /varlog/gcp-kubelet.log.pos
|
||||
tag kubelet
|
||||
</source>
|
||||
|
||||
|
Reference in New Issue
Block a user