-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Failed to Create Cluster on M1 #2448
Comments
As a workaround, having a Dockerfile
building it |
I'm only breifly around today, probably won't be able to follow up myself for a while but no, the image is being pulled by a mult-arch manifest list digest (not amd64 specific). Probably what happened is docker desktop switched to iptables backed by the nftables kernel module, the latest kind images have updated logic for this. when you use your custom image you are pulling that's my best guess anyhow, you could dig deeper and find out what digests are being used and what the image differences are (e.g. I recommend wagoodman/dive for inspecting images). I could also tell you if I knew which were used. for v0.11.1 the default is kind/pkg/apis/config/defaults/image.go Line 21 in 6a69d86
|
This part is the problem.
#2289 may be the fix (Already merged). I would be interested to see if using kind built from the latest sources works (the default should contain this fix). |
cc @munnerz π |
I am having similar errors as specified by BenTheElder with regard to iptables error.
|
I assume you are using podman machine, that doesn't work with kind AFAIK #2213 (comment) |
@aojea yes thank you for directing me to the link - you are right! |
Podman machine has different open issues, and kind is known to work on M1 mac by many users, something clearly went wrong in the initial post here, but we don't seem to have a reproducer and I don't think there's anything more to do with that initial post. I'm going to close this now so it stops splitting topics to podman machine etc., those should be seperate issues please, and please fill out the bug template with all the details so we know enough about your environment to discuss / diagnose. #2445 for podman machine on mac |
You can overcome this problem if you init the podman machine as rootful. |
What happened:
Creating a kind cluster for the first time, I installed it on my Macbook M1 using
brew install kind
followed bykind create cluster --retain
I got the following errorkind export logs
Archive.zip
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Getting the following logs in the container.
Environment:
kind version
):kind v0.11.1 go1.16.4 darwin/arm64
kubectl version
):Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:38:26Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"darwin/arm64"}
docker info
):Server: Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 3 Server Version: 20.10.8 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: cgroupfs Cgroup Version: 1 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux Default Runtime: runc Init Binary: docker-init containerd version: e25210fe30a0a703442421b0f60afac609f950a3 runc version: v1.0.1-0-g4144b63 init version: de40ad0 Security Options: seccomp Profile: default Kernel Version: 5.10.47-linuxkit Operating System: Docker Desktop OSType: linux Architecture: aarch64 CPUs: 4 Total Memory: 7.765GiB Name: docker-desktop ID: BEFJ:DBR6:F7HN:UK6X:H5GF:3DYT:RDFX:RSC5:CHMJ:CJ6T:JXP6:NJLU Docker Root Dir: /var/lib/docker Debug Mode: false HTTP Proxy: http.docker.internal:3128 HTTPS Proxy: http.docker.internal:3128 Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
/etc/os-release
):sw_vers ProductName: macOS ProductVersion: 11.5.2 BuildVersion: 20G95
The text was updated successfully, but these errors were encountered: