You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prometheus/config/testdata/kubernetes_selectors_pod.go...

14 lines
347 B

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"