[ci skip] Bump inotify max_user_instances from 512 to 8192

Fixes "failed to create fsnotify watcher: too many open files" in Drone
CI builds where vitest exhausts the default inotify instance limit.
This commit is contained in:
Viktor Barzin 2026-02-21 20:21:04 +00:00
parent 038d4434c4
commit dcce738641

View file

@ -73,7 +73,7 @@ resource "kubernetes_daemon_set_v1" "sysctl-inotify" {
image = "busybox:1.37"
command = [
"sh", "-c",
"sysctl -w fs.inotify.max_user_watches=1048576 && sysctl -w fs.inotify.max_user_instances=512 && sysctl -w fs.inotify.max_queued_events=1048576"
"sysctl -w fs.inotify.max_user_watches=1048576 && sysctl -w fs.inotify.max_user_instances=8192 && sysctl -w fs.inotify.max_queued_events=1048576"
]
security_context {
privileged = true