prometheus/config/testdata/kubernetes_selectors_pod.go...

9 lines
204 B
YAML

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