prometheus/config/testdata/kubernetes_selectors_pod.good.yml

14 lines
347 B
YAML
Raw Normal View History

scrape_configs:
- job_name: prometheus
kubernetes_sd_configs:
- role: pod
selectors:
- role: "pod"
label: "foo=bar"
field: "metadata.status=Running"
- role: pod
selectors:
- role: "pod"
label: "foo in (bar,baz)"
field: "metadata.status=Running"