diff --git a/k8s/README.md b/k8s/README.md index 3fc32e0..0465d7a 100644 --- a/k8s/README.md +++ b/k8s/README.md @@ -522,7 +522,17 @@ sysctl fs.inotify ``` Fix: ``` -sudo sysctl fs.inotify.max_user_instances=512 +sudo sysctl -w fs.inotify.max_user_instances=1024 + +sudo sysctl -w fs.inotify.max_user_watches=524288 +``` + +To keep after reboot: +``` +echo "\ +fs.inotify.max_user_instances=1024 +fs.inotify.max_user_watches=524288 +" | sudo tee -a /etc/sysctl.conf ``` ## Free space without restart