Browse Source

update kubelet sm

Josh Bicking 1 day ago
parent
commit
884de09dd3
1 changed files with 6 additions and 3 deletions
  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