Collect more of the VM's log files (monit, salt) in fluentd-gcp.

This commit is contained in:
Alex Robinson
2015-08-05 00:21:47 +00:00
parent 879bf62e27
commit 7430181d65
4 changed files with 19 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
.PHONY: kbuild kpush
TAG = 1.10
TAG = 1.11
# Rules for building the test image for deployment to Dockerhub with user kubernetes.

View File

@@ -63,6 +63,22 @@
tag kubernetes.${tag_suffix[3].split('-')[0..-2].join('-')}
</match>
<source>
type tail
format none
path /varlog/monit.log
pos_file /varlog/gcp-monit.log.pos
tag monit
</source>
<source>
type tail
format none
path /varlog/salt/minion
pos_file /varlog/gcp-salt.pos
tag salt
</source>
<source>
type tail
format none

View File

@@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: fluentd-cloud-logging
image: gcr.io/google_containers/fluentd-gcp:1.10
image: gcr.io/google_containers/fluentd-gcp:1.11
resources:
limits:
cpu: 100m

View File

@@ -169,7 +169,7 @@ metadata:
spec:
containers:
- name: fluentd-cloud-logging
image: gcr.io/google_containers/fluentd-gcp:1.10
image: gcr.io/google_containers/fluentd-gcp:1.11
resources:
limits:
cpu: 100m