Open AllenZMC opened 9 months ago
Did kind change any linux configuration?
no.
Please check: https://kind.sigs.k8s.io/docs/user/known-issues/
A common one: https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files
Typically we see resource exhaustion issues.
Are you running anything else between these commands? Or other containers ..?
@AllenZMC Are you able to find out if cause was among listed known issue ?
@AllenZMC Are you able to find out if cause was among listed known issue ?
no
Facing the same issue.
I noticed that this happens only with kind starting 0.20.0. On kind v0.19.0 if we use the same image, it will succeed.
When I used kind to create a k8s cluster successfully for the first time, and then executed kind delete cluster, finally executing the
kind create cluster
command again failed.Environment:
kind version: 0.20.0
VM Info: NAME="Red Hat Enterprise Linux" VERSION="8.4 (Ootpa)" ID="rhel" ID_LIKE="fedora" VERSION_ID="8.4" PLATFORM_ID="platform:el8" PRETTY_NAME="Red Hat Enterprise Linux 8.4 (Ootpa)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:8.4:GA" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/" BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8" REDHAT_BUGZILLA_PRODUCT_VERSION=8.4 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8.4"
Docker Version: Client: Docker Engine - Community Version: 24.0.7 API version: 1.43 Go version: go1.20.10 Git commit: afdd53b Built: Thu Oct 26 09:09:18 2023 OS/Arch: linux/amd64 Context: default
Server: Docker Engine - Community Engine: Version: 24.0.7 API version: 1.43 (minimum version 1.12) Go version: go1.20.10 Git commit: 311b9ff Built: Thu Oct 26 09:08:20 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.26 GitCommit: 3dd1e886e55dd695541fdcd67420c2888645a495 runc: Version: 1.1.10 GitCommit: v1.1.10-0-g18a0cb0 docker-init: Version: 0.19.0 GitCommit: de40ad0
What happened:
When I execute the following command for the first time, the cluster is created successfully:
kind create cluster --image=kindest/node:v1.27.3
Then, I execute the delete command
kind delete cluster --name=kind
All the above are successful.But when I use
kind create cluster --image=kindest/node:v1.27.3
to create cluster again, I get an error. The error log is as follows:And restarting docker has no effect, but restarting the virtual machine can successfully create the cluster again.
Did kind change any linux configuration?