mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
Fail configuration unmarshalling if kubeconfig or api url are set with "own namespace" Only read namespace file if needed. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
7 lines
187 B
YAML
7 lines
187 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
kubernetes_sd_configs:
|
|
- role: endpoints
|
|
api_server: 'https://localhost:1234'
|
|
namespaces:
|
|
own_namespace: true
|