Change serviceMonitorSelector
This commit is contained in:
parent
813ad42d7a
commit
fbb7996029
|
@ -66,3 +66,8 @@ spec:
|
||||||
- hosts:
|
- hosts:
|
||||||
- *prometheus-host
|
- *prometheus-host
|
||||||
secretName: wildcard-main-tls
|
secretName: wildcard-main-tls
|
||||||
|
|
||||||
|
prometheusSpec:
|
||||||
|
serviceMonitorSelector:
|
||||||
|
matchLabels:
|
||||||
|
monitorWith: prometheus
|
||||||
|
|
|
@ -35,6 +35,10 @@ spec:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
labels:
|
||||||
|
monitorWith: prometheus
|
||||||
|
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: http
|
- port: http
|
||||||
scheme: http
|
scheme: http
|
||||||
|
|
Loading…
Reference in New Issue