diff --git a/README.md b/README.md index 4105048..c4227bf 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,8 @@ Kubernetes is an open‑source platform that automates the deployment, scaling, - [kill all connections](#kill-all-connections) - [cert-manager](#cert-manager) - [Removing cert‑manager Metadata from Secrets](#removing-certmanager-metadata-from-secrets) +- [hosting](#hosting) + - [misc](#misc) ## Namespaces @@ -1150,3 +1152,22 @@ kubectl get secrets -A --show-labels | grep cert-manager ``` If the Secret no longer appears, it is now unmanaged. + +## hosting + +### misc + +**Error: failed to create fsnotify watcher: too many open files.** + +``` bash +cat /proc/sys/fs/inotify/max_user_watches +cat /proc/sys/fs/inotify/max_user_instances +``` + +**Increase Values example:** + +``` bash +echo "fs.inotify.max_user_watches=1048576" | sudo tee -a /etc/sysctl.conf +echo "fs.inotify.max_user_instances=1024" | sudo tee -a /etc/sysctl.conf +sudo sysctl -p +```