Monitoring/manifests/kubelet-servicemonitor.yaml

13 lines
250 B
YAML

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