Commit bfaa5271 authored by Mike Danese's avatar Mike Danese

Merge pull request #12045 from a-robinson/logs

Fix fluentd configs to collect etcd logs on the master
parents 51a7a38f 69ab7026
.PHONY: build push
IMAGE = fluentd-elasticsearch
TAG = 1.6
TAG = 1.7
build:
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
......
......@@ -94,20 +94,13 @@
tag docker
</source>
<match kubernetes.**>
type elasticsearch
log_level info
include_tag_key true
host elasticsearch-logging
port 9200
logstash_format true
flush_interval 5s
# Never wait longer than 5 minutes between retries.
max_retry_wait 300
# Disable the limit on the number of retries (retry forever).
disable_retry_limit
</match>
>>>>>>> Move things into a 'kube-system' namespace.
<source>
type tail
format none
path /varlog/etcd.log
pos_file /varlog/es-etcd.log.pos
tag etcd
</source>
<source>
type tail
......
......@@ -15,7 +15,7 @@
.PHONY: kbuild kpush
TAG = 1.9
TAG = 1.10
# Rules for building the test image for deployment to Dockerhub with user kubernetes.
......
......@@ -82,6 +82,14 @@
<source>
type tail
format none
path /varlog/etcd.log
pos_file /varlog/gcp-etcd.log.pos
tag etcd
</source>
<source>
type tail
format none
path /varlog/kubelet.log
pos_file /varlog/gcp-kubelet.log.pos
tag kubelet
......
......@@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: fluentd-elasticsearch
image: gcr.io/google_containers/fluentd-elasticsearch:1.6
image: gcr.io/google_containers/fluentd-elasticsearch:1.7
resources:
limits:
cpu: 100m
......
......@@ -6,7 +6,7 @@ metadata:
spec:
containers:
- name: fluentd-cloud-logging
image: gcr.io/google_containers/fluentd-gcp:1.9
image: gcr.io/google_containers/fluentd-gcp:1.10
resources:
limits:
cpu: 100m
......
......@@ -169,7 +169,7 @@ metadata:
spec:
containers:
- name: fluentd-cloud-logging
image: gcr.io/google_containers/fluentd-gcp:1.9
image: gcr.io/google_containers/fluentd-gcp:1.10
resources:
limits:
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