prometheus/config/testdata/kubernetes_selectors_service.bad.yml
Aleksandra Gacek 8e53c19f9c discovery/kubernetes: expose label_selector and field_selector
Close #6807

Co-authored-by @shuttie
Signed-off-by: Aleksandra Gacek <algacek@google.com>
2020-02-15 14:57:56 +01:00

9 lines
208 B
YAML

scrape_configs:
- job_name: prometheus
kubernetes_sd_configs:
- role: service
selectors:
- role: "pod"
label: "foo=bar"
field: "metadata.status=Running"