node-io: add io.max layer so dind cannot fill the device queue

This commit is contained in:
Lance Walters 2026-10-26 17:10:18 -04:00
commit 6d9f5176e1
3 changed files with 89 additions and 13 deletions

View file

@ -43,6 +43,11 @@ spec:
configMapKeyRef:
name: etcd-io-guard-config
key: dirty-background-bytes
- name: DIND_WBPS
valueFrom:
configMapKeyRef:
name: etcd-io-guard-config
key: dind-wbps
securityContext:
privileged: true
resources:
@ -55,6 +60,11 @@ spec:
volumeMounts:
- name: host-proc-sys
mountPath: /host/proc/sys/vm
- name: host-proc
mountPath: /host/proc
readOnly: true
- name: host-cgroup
mountPath: /host/sys/fs/cgroup
- name: script
mountPath: /opt/guard
readOnly: true
@ -63,6 +73,14 @@ spec:
hostPath:
path: /proc/sys/vm
type: Directory
- name: host-proc
hostPath:
path: /proc
type: Directory
- name: host-cgroup
hostPath:
path: /sys/fs/cgroup
type: Directory
- name: script
configMap:
name: etcd-io-guard-script