Skip to content

Commit d4ef220

Browse files
committed
Fix: removed inotify update from the script
1 parent 94e4972 commit d4ef220

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/installation/installation.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ When running multiple KIND clusters, certain issues may arise—particularly rel
4343
2. `sudo sysctl fs.inotify.max_user_instances=8192`
4444
3. `sudo sysctl fs.inotify.max_user_watches=524288`
4545

46-
> **Note**: These commands are automatically applied during the installation process by the requirements.sh script.
47-
4846
## Testbed installation
4947

5048
### What will be installed

tools/scripts/requirements.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ function install_docker() {
7171
# Add current user to docker group
7272
echo "Adding user '$USER' to group 'docker'..."
7373
sudo usermod -aG docker "$USER"
74-
sudo sysctl fs.inotify.max_user_watches=52428899
75-
sudo sysctl fs.inotify.max_user_instances=8192
74+
#sudo sysctl fs.inotify.max_user_watches=52428899
75+
#sudo sysctl fs.inotify.max_user_instances=8192
7676
# TODO: Check if it's possible to replace all Docker commands with 'sudo docker', since 'newgrp' will block the script
7777
echo "You must run 'newgrp docker' or log out and back in to apply group change."
7878
exit 0
@@ -92,8 +92,8 @@ function check_docker() {
9292
fi
9393
fi
9494
echo "Setting inotify..."
95-
sudo sysctl fs.inotify.max_user_watches=52428899
96-
sudo sysctl fs.inotify.max_user_instances=8192
95+
#sudo sysctl fs.inotify.max_user_watches=52428899
96+
#sudo sysctl fs.inotify.max_user_instances=8192
9797
}
9898

9999
# Install Kubectl function

0 commit comments

Comments
 (0)