helm/chart/templates/nodeMonitor/deployment.yaml
2025-11-16 14:20:24 +01:00

40 lines
1007 B
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
name: node-monitor
spec:
selector:
matchLabels:
dev.dinauer.kubooboo/component: node-monitor
template:
metadata:
labels:
dev.dinauer.kubooboo/component: node-monitor
spec:
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
containers:
- name: node-monitor-pod
image: harbor.dinauer.dev/kubooboo/node-monitor:1
resources:
requests:
memory: 5Mi
limits:
memory: 25Mi
env:
- name: HOST_PATH
value: /host
volumeMounts:
- name: host-root
mountPath: /host
readOnly: true
volumes:
- name: host-root
hostPath:
path: /
type: Directory