feat(kubelet): Add metrics
This commit is contained in:
parent
5af1f9fedd
commit
f487f5724d
12
manifests/kubelet-servicemonitor.yaml
Normal file
12
manifests/kubelet-servicemonitor.yaml
Normal 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
|
@ -11,3 +11,4 @@ resources:
|
|||||||
- grafana
|
- grafana
|
||||||
- node-exporter
|
- node-exporter
|
||||||
- kube-state-metrics
|
- kube-state-metrics
|
||||||
|
- kubelet-servicemonitor.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user