Compare commits
2 Commits
5af1f9fedd
...
dceadd9e21
Author | SHA1 | Date | |
---|---|---|---|
dceadd9e21 | |||
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
|
||||||
|
@ -8,6 +8,7 @@ spec:
|
|||||||
serviceMonitorNamespaceSelector: {}
|
serviceMonitorNamespaceSelector: {}
|
||||||
serviceMonitorSelector: {}
|
serviceMonitorSelector: {}
|
||||||
podMonitorSelector: {}
|
podMonitorSelector: {}
|
||||||
|
podMonitorNamespaceSelector: {}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 300Mi
|
memory: 300Mi
|
||||||
|
Loading…
Reference in New Issue
Block a user