mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-07 16:27:27 +00:00
Merge pull request #3073 from acondrat/patch-1
Filter out non-running pods in Prometheus
This commit is contained in:
commit
73668d19d9
1 changed files with 5 additions and 0 deletions
|
|
@ -23,3 +23,8 @@ spec:
|
|||
- image-reflector-controller
|
||||
podMetricsEndpoints:
|
||||
- port: http-prom
|
||||
relabelings:
|
||||
# https://github.com/prometheus-operator/prometheus-operator/issues/4816
|
||||
- sourceLabels: [__meta_kubernetes_pod_phase]
|
||||
action: keep
|
||||
regex: Running
|
||||
|
|
|
|||
Loading…
Reference in a new issue