From 10b977d54a52e413a6c5662c40bf9d49cd856c3a Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sun, 5 Nov 2017 17:53:16 -0800 Subject: [PATCH] addons: Set kube-state-metrics to have clusterIP None * kube-state-metrics service exists to facilitate prometheus discovery --- addons/prometheus/exporters/kube-state-metrics/service.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/prometheus/exporters/kube-state-metrics/service.yaml b/addons/prometheus/exporters/kube-state-metrics/service.yaml index 2980440b..43222273 100644 --- a/addons/prometheus/exporters/kube-state-metrics/service.yaml +++ b/addons/prometheus/exporters/kube-state-metrics/service.yaml @@ -7,6 +7,8 @@ metadata: prometheus.io/scrape: 'true' spec: type: ClusterIP + # service is created to allow prometheus to scape endpoints + clusterIP: None selector: name: kube-state-metrics phase: prod