Merge pull request #62905 from serathius/event-exporter-region

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

[fluentd-gcp addon] Pass region in seperate field

This PR makes location passed to event-exporter based on `MULTIZONE` env.

Fixes https://github.com/kubernetes/kubernetes/issues/62399
```release-note
NONE
```
/cc @loburm
This commit is contained in:
Kubernetes Submit Queue
2018-05-11 06:00:44 -07:00
committed by GitHub
4 changed files with 9 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ spec:
image: k8s.gcr.io/event-exporter:v0.1.9
command:
- /event-exporter
- -sink-opts=-location={{ event_exporter_zone }}
- -sink-opts=-location={{ event_exporter_location }}
# BEGIN_PROMETHEUS_TO_SD
- name: prometheus-to-sd-exporter
image: k8s.gcr.io/prometheus-to-sd:v0.2.4