Skip to content

Commit 7a7a491

Browse files
authored
Merge pull request #496 from asmacdo/increase-inotify-watches
Document inotify config for kind deployments
2 parents d6cb238 + 1b0ae94 commit 7a7a491

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/docs/how-tos/nebari-local.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,20 @@ security:
159159
tag: sha-b4a2d1e
160160
```
161161
162+
### Increase fs watches
163+
164+
Depending on your host system, you may need to increase the `fs.inotify.max_user_watches` and
165+
`fs.inotify.max_user_instances kernel parameters` if you see the error "too many open files" in the logs of
166+
a failing pod.
167+
168+
```bash
169+
sudo sysctl fs.inotify.max_user_watches=524288
170+
sudo sysctl fs.inotify.max_user_instances=512
171+
```
172+
173+
See the [kind troubleshooting
174+
docs](https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files) for more information.
175+
162176
## Deploying Nebari
163177

164178
With the `nebari-config.yaml` configuration file now created, Nebari can be deployed for the first time with:

0 commit comments

Comments
 (0)