Jelajahi Sumber

update kubelet sm

Josh Bicking 1 hari lalu
induk
melakukan
884de09dd3
1 mengubah file dengan 6 tambahan dan 3 penghapusan
  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