mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
9d63502204
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>
8 lines
191 B
YAML
8 lines
191 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
kubernetes_sd_configs:
|
|
- role: endpoints
|
|
kubeconfig_file: /home/User1/.kubeconfig
|
|
namespaces:
|
|
own_namespace: true
|