mirror of
https://github.com/fluxcd/flux2-monitoring-example.git
synced 2024-12-14 10:47:31 +00:00
PodMonitor: remove now unneeded relabel config
Ever since https://github.com/prometheus-operator/prometheus-operator/pull/5049, the relabel config workaround to ignore non-running pods is no longer needed. This commit cleans up the podmonitor to keep the code tidy. Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
This commit is contained in:
parent
bcae1ef449
commit
4f3f70817c
1 changed files with 0 additions and 5 deletions
|
@ -22,8 +22,3 @@ 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