apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: kubelet-metrics namespace: kube-system spec: selector: matchLabels: app.kubernetes.io/name: kubelet endpoints: - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token path: /metrics port: https-metrics scheme: https tlsConfig: insecureSkipVerify: true