addons: Set kube-state-metrics to have clusterIP None

* kube-state-metrics service exists to facilitate prometheus discovery
This commit is contained in:
Dalton Hubble 2017-11-05 17:53:16 -08:00
parent b7a268fc45
commit 10b977d54a
1 changed files with 2 additions and 0 deletions

View File

@ -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