[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:
parent
038d4434c4
commit
dcce738641
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue