mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Make fluentd-gcp collect etcd's logs on the master.
This commit is contained in:
parent
a3cb57f48d
commit
9e18c29e9f
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
.PHONY: kbuild kpush
|
.PHONY: kbuild kpush
|
||||||
|
|
||||||
TAG = 1.9
|
TAG = 1.10
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
||||||
|
@ -79,6 +79,14 @@
|
|||||||
tag docker
|
tag docker
|
||||||
</source>
|
</source>
|
||||||
|
|
||||||
|
<source>
|
||||||
|
type tail
|
||||||
|
format none
|
||||||
|
path /varlog/etcd.log
|
||||||
|
pos_file /varlog/gcp-etcd.log.pos
|
||||||
|
tag etcd
|
||||||
|
</source>
|
||||||
|
|
||||||
<source>
|
<source>
|
||||||
type tail
|
type tail
|
||||||
format none
|
format none
|
||||||
|
@ -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.9
|
image: gcr.io/google_containers/fluentd-gcp:1.10
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
@ -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.9
|
image: gcr.io/google_containers/fluentd-gcp:1.10
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
Loading…
Reference in New Issue
Block a user