Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"too many open files" error upon creating multiple Kind clusters on Lima VMs. #1178

Open
carlosonunez-vmw opened this issue Nov 18, 2022 · 0 comments · May be fixed by #1179
Open

"too many open files" error upon creating multiple Kind clusters on Lima VMs. #1178

carlosonunez-vmw opened this issue Nov 18, 2022 · 0 comments · May be fixed by #1179

Comments

@carlosonunez-vmw
Copy link

Description

Lima Version

$: lima --version
limactl version 0.12.0

Host Vesrion

$: lima cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Problem Description

Starting multiple Kind clusters on Lima VMs created from the docker-rootful template causes control plane nodes to fail with EMFILE errors.

Increasing inotify limits per Kind's documentation resolves this.

The PR linked to this issue adds this change to the provision block for this template so that others don't run into this issue.

carlosonunez-vmw added a commit to carlosonunez-vmw/lima that referenced this issue Nov 18, 2022
carlosonunez-vmw added a commit to carlosonunez-vmw/lima that referenced this issue Nov 27, 2022
This resolves lima-vm#1178 and allows users to create multiple local Kubernetes
clusters through Kind or the Cluster API Docker provider.

Signed-off-by: Carlos Nunez <ncarlos@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant