Merge pull request #623 from brancz/add-kubelet-probes-metrics

Add scraping of endpoint for kubelet probe metrics
This commit is contained in:
Frederic Branczyk
2020-07-29 12:57:28 +02:00
committed by GitHub
2 changed files with 29 additions and 0 deletions

View File

@@ -68,6 +68,18 @@ spec:
scheme: https
tlsConfig:
insecureSkipVerify: true
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
honorLabels: true
interval: 30s
path: /metrics/probes
port: https-metrics
relabelings:
- sourceLabels:
- __metrics_path__
targetLabel: metrics_path
scheme: https
tlsConfig:
insecureSkipVerify: true
jobLabel: k8s-app
namespaceSelector:
matchNames: