Merge pull request #3073 from acondrat/patch-1

Filter out non-running pods in Prometheus
pull/3053/head
Stefan Prodan 2 years ago committed by GitHub
commit 73668d19d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,3 +23,8 @@ spec:
- image-reflector-controller - image-reflector-controller
podMetricsEndpoints: podMetricsEndpoints:
- port: http-prom - port: http-prom
relabelings:
# https://github.com/prometheus-operator/prometheus-operator/issues/4816
- sourceLabels: [__meta_kubernetes_pod_phase]
action: keep
regex: Running

Loading…
Cancel
Save