You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uds-csi: the per-pod tmpfs has a size cap but no inode cap (nr_inodes) #1107
Proposal 039's design mounts the per-pod tmpfs with size=<small>,nr_inodes=<small>; Phase 1 as built (#1090) passes exactly mode=2770,uid=0,gid=<fsGroup>,size=<bytes>. Without nr_inodes the kernel default is half the node's RAM pages worth of inodes, so a workload can create a very large number of empty files/sockets in its socket directory and pin kernel memory outside its memory cgroup accounting expectations (tmpfs inodes are charged to the cgroup that created them, but the cap is the cheap, explicit bound the design asked for). Add nr_inodes (chart value udsCsi.inodes, small default, e.g. 64) with a unit test on the mount data string and an assertion in e2e/uds-csi.sh (df -i on the host mount).
Activity