Monitoring/manifests/kubelet-servicemonitor.yaml

17 lines
383 B
YAML
Raw Normal View History

2024-12-20 11:03:26 +00:00
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