Josh Bicking 1 день назад
Родитель
Сommit
884de09dd3
1 измененных файлов с 6 добавлено и 3 удалено
  1. 6 3
      argocd/monitoring/kubelet/kubelet-servicemonitor.yaml

+ 6 - 3
argocd/monitoring/kubelet/kubelet-servicemonitor.yaml

@@ -46,7 +46,8 @@ spec:
       - __name__
     port: https-metrics
     relabelings:
-    - sourceLabels:
+    - action: replace
+      sourceLabels:
       - __metrics_path__
       targetLabel: metrics_path
     scheme: https
@@ -64,7 +65,8 @@ spec:
     path: /metrics/cadvisor
     port: https-metrics
     relabelings:
-    - sourceLabels:
+    - action: replace
+      sourceLabels:
       - __metrics_path__
       targetLabel: metrics_path
     scheme: https
@@ -76,7 +78,8 @@ spec:
     path: /metrics/probes
     port: https-metrics
     relabelings:
-    - sourceLabels:
+    - action: replace
+      sourceLabels:
       - __metrics_path__
       targetLabel: metrics_path
     scheme: https