Compare commits

...

2 Commits

Author SHA1 Message Date
dceadd9e21 feat(podMonitor): Listen to all namespaces 2024-12-20 12:03:43 +01:00
f487f5724d feat(kubelet): Add metrics 2024-12-20 12:03:26 +01:00
3 changed files with 14 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
- node-exporter
- kube-state-metrics
- kubelet-servicemonitor.yaml

View File

@ -8,6 +8,7 @@ spec:
serviceMonitorNamespaceSelector: {}
serviceMonitorSelector: {}
podMonitorSelector: {}
podMonitorNamespaceSelector: {}
resources:
requests:
memory: 300Mi