Add scraping of endpoint for kubelet probe metrics

This commit is contained in:
Frederic Branczyk
2020-07-29 11:41:48 +02:00
parent 6771c9bcc2
commit 7c35752e3f
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: