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:
Max Leonard Inden
2018-03-19 13:34:18 +01:00
parent 0bda22e380
commit 3a6d38ea0e

View File

@@ -10,4 +10,7 @@ spec:
tier: frontend
endpoints:
- port: web
interval: 10s
interval: 10s
namespaceSelector:
matchNames:
- default