feat(kubelet): Add metrics

This commit is contained in:
Tanguy Herbron 2024-12-20 12:03:26 +01:00
parent 5af1f9fedd
commit f487f5724d
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
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

View File

@ -11,3 +11,4 @@ resources:
- grafana - grafana
- node-exporter - node-exporter
- kube-state-metrics - kube-state-metrics
- kubelet-servicemonitor.yaml