From 3abaa6b3c8930326b3f587000af6c5b793562c2e Mon Sep 17 00:00:00 2001 From: Piotr Szczesniak Date: Tue, 3 Mar 2015 10:44:46 +0100 Subject: [PATCH] Added cluster-service lavel to monitoring services Monitoring services will be now displayed in kubectl cluster command (#4657). This partially addresses #4620 --- cluster/addons/cluster-monitoring/grafana-service.yaml | 3 +++ cluster/addons/cluster-monitoring/heapster-service.yaml | 3 +++ cluster/addons/cluster-monitoring/influxdb-service.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/cluster/addons/cluster-monitoring/grafana-service.yaml b/cluster/addons/cluster-monitoring/grafana-service.yaml index b0883c4afc1..0c550c64378 100644 --- a/cluster/addons/cluster-monitoring/grafana-service.yaml +++ b/cluster/addons/cluster-monitoring/grafana-service.yaml @@ -3,5 +3,8 @@ kind: Service id: monitoring-grafana port: 80 containerPort: 80 +labels: + name: grafana + kubernetes.io/cluster-service: "true" selector: name: influxGrafana diff --git a/cluster/addons/cluster-monitoring/heapster-service.yaml b/cluster/addons/cluster-monitoring/heapster-service.yaml index 7d64361912e..4601e8e7186 100644 --- a/cluster/addons/cluster-monitoring/heapster-service.yaml +++ b/cluster/addons/cluster-monitoring/heapster-service.yaml @@ -3,5 +3,8 @@ kind: Service id: monitoring-heapster port: 80 containerPort: 8082 +labels: + name: heapster + kubernetes.io/cluster-service: "true" selector: name: heapster diff --git a/cluster/addons/cluster-monitoring/influxdb-service.yaml b/cluster/addons/cluster-monitoring/influxdb-service.yaml index 80ea7a939bc..c2b9d4c87f4 100644 --- a/cluster/addons/cluster-monitoring/influxdb-service.yaml +++ b/cluster/addons/cluster-monitoring/influxdb-service.yaml @@ -3,5 +3,8 @@ kind: Service id: monitoring-influxdb port: 80 containerPort: 8086 +labels: + name: influxdb + kubernetes.io/cluster-service: "true" selector: name: influxGrafana