Skip to content

Commit e807ad5

Browse files
authored
Merge pull request #544 from application-stacks/filehandles
Fix too many open files issue in kind
2 parents 0e44d2f + 7c55828 commit e807ad5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/setup-kind-cluster.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ install_kind() {
1616
}
1717

1818
install_dependencies() {
19+
# Without this, pods may fail with 'too many open files'
20+
# https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files
21+
sysctl fs.inotify.max_user_watches=524288
22+
sysctl fs.inotify.max_user_instances=512
1923
## Install docker
2024
if ! command -v docker &> /dev/null; then
2125
echo "****** Installing Docker..."

0 commit comments

Comments
 (0)