Skip to content

Commit

Permalink
Increase max_user_instances from default 128 to 1024
Browse files Browse the repository at this point in the history
Due to errors like 'inotifyd: no kernel support: No file descriptors available' in the Yaook operator pods

Signed-off-by: Roman Hros <roman.hros@dnation.cloud>
  • Loading branch information
chess-knight committed Aug 8, 2024
1 parent bbea871 commit 7b8edb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ spec:
- echo 'source <(kubectl completion bash)' >>/root/.bashrc
- echo 'export KUBECONFIG=/etc/kubernetes/admin.conf' >>/root/.bashrc
- apt-get -y autoremove && apt-get -y clean all
postKubeadmCommands:
- echo fs.inotify.max_user_instances=1024 >> /etc/sysctl.conf && sysctl -p
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,5 @@ spec:
- echo 'source <(kubectl completion bash)' >>/root/.bashrc
- echo 'export KUBECONFIG=/etc/kubernetes/admin.conf' >>/root/.bashrc
- apt-get -y autoremove && apt-get -y clean all
postKubeadmCommands:
- echo fs.inotify.max_user_instances=1024 >> /etc/sysctl.conf && sysctl -p

0 comments on commit 7b8edb8

Please sign in to comment.