apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: kubelet-metrics namespace: kube-system spec: selector: matchLabels: app.kubernetes.io/name: kubelet endpoints: - port: http-metrics path: /metrics