mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-28 09:52:17 +02:00
contrib/kube: Restrict example-app servicemonitor to default ns
The `prometheus-frontend` role of the example app kubeprometheus section is scoped to the default namespace. Thereby the frontend Prometheus instance is not able to discover anything outside of the default namespace. We might as well restrict the front end service monitor to the default namespace too.
This commit is contained in:
parent
0bda22e380
commit
3a6d38ea0e
@ -10,4 +10,7 @@ spec:
|
||||
tier: frontend
|
||||
endpoints:
|
||||
- port: web
|
||||
interval: 10s
|
||||
interval: 10s
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- default
|
||||
|
Loading…
x
Reference in New Issue
Block a user