Commit 714b39f0 authored by Alex Robinson's avatar Alex Robinson

Merge pull request #12240 from a-robinson/logs

Also collect the monit and salt logs in our fluentd configs
parents aaaadfca cc02e50f
.PHONY: build push .PHONY: build push
IMAGE = fluentd-elasticsearch IMAGE = fluentd-elasticsearch
TAG = 1.7 TAG = 1.8
build: build:
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) . docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
......
...@@ -81,6 +81,22 @@ ...@@ -81,6 +81,22 @@
<source> <source>
type tail type tail
format none 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
path /varlog/startupscript.log path /varlog/startupscript.log
pos_file /varlog/es-startupscript.log.pos pos_file /varlog/es-startupscript.log.pos
tag startupscript tag startupscript
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.PHONY: kbuild kpush .PHONY: kbuild kpush
TAG = 1.10 TAG = 1.11
# Rules for building the test image for deployment to Dockerhub with user kubernetes. # Rules for building the test image for deployment to Dockerhub with user kubernetes.
......
...@@ -66,6 +66,22 @@ ...@@ -66,6 +66,22 @@
<source> <source>
type tail type tail
format none 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
path /varlog/startupscript.log path /varlog/startupscript.log
pos_file /varlog/gcp-startupscript.log.pos pos_file /varlog/gcp-startupscript.log.pos
tag startupscript tag startupscript
......
...@@ -6,7 +6,7 @@ metadata: ...@@ -6,7 +6,7 @@ metadata:
spec: spec:
containers: containers:
- name: fluentd-elasticsearch - name: fluentd-elasticsearch
image: gcr.io/google_containers/fluentd-elasticsearch:1.7 image: gcr.io/google_containers/fluentd-elasticsearch:1.8
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
......
...@@ -6,7 +6,7 @@ metadata: ...@@ -6,7 +6,7 @@ metadata:
spec: spec:
containers: containers:
- name: fluentd-cloud-logging - name: fluentd-cloud-logging
image: gcr.io/google_containers/fluentd-gcp:1.10 image: gcr.io/google_containers/fluentd-gcp:1.11
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
......
...@@ -169,7 +169,7 @@ metadata: ...@@ -169,7 +169,7 @@ metadata:
spec: spec:
containers: containers:
- name: fluentd-cloud-logging - name: fluentd-cloud-logging
image: gcr.io/google_containers/fluentd-gcp:1.10 image: gcr.io/google_containers/fluentd-gcp:1.11
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
......
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