addons: Set kube-state-metrics to have clusterIP None
* kube-state-metrics service exists to facilitate prometheus discovery
This commit is contained in:
parent
b7a268fc45
commit
10b977d54a
|
@ -7,6 +7,8 @@ metadata:
|
||||||
prometheus.io/scrape: 'true'
|
prometheus.io/scrape: 'true'
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
# service is created to allow prometheus to scape endpoints
|
||||||
|
clusterIP: None
|
||||||
selector:
|
selector:
|
||||||
name: kube-state-metrics
|
name: kube-state-metrics
|
||||||
phase: prod
|
phase: prod
|
||||||
|
|
Loading…
Reference in New Issue