Explorar el Código

update kubelet sm

Josh Bicking hace 1 día
padre
commit
884de09dd3
Se han modificado 1 ficheros con 6 adiciones y 3 borrados
  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