-
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
Solved: Request for help with debugging on Raspberry Pi - 64bit / arm64 #2193
Comments
$docker logs kind-control-plane There is no further log output here until kind timeouts.
Edit: removed logfile because it didn't add any value. |
$ kind create cluster -v 99 --image kindest/node # tried with selfbuild node or rossgeorgiev/kind-node-arm64
Edit: removed logfile because it didn't add any value. |
1.21 will require a kind binary from HEAD (build from latest sources), as Kubernetes made a breaking change: #2189 |
Thanks for pointing me into that direction. Unfortunately I get the same error with rossgeorgiev/kind-node-arm64 1.21. |
rossgeorgiev/kind-node-arm64:1.20 doesn't work either with head. Got the same error. Edit: I will add --wait 30m if that doesn't work, I will try 1.19 |
I can confirm the following. Do not work with kind "head" nor kind-v0.10.0 I get the same timeout as mentioned in the logfiles. |
This suggest kubelet is still unhealthy for some other reason.
There's a lot of info that will provide that is missing here like the container runtime used etc. Please also check the known issues page against your host configuration. |
@BenTheElder Thank you! I don't use this sentence very often - but this is a "whatever it takes" - because it's a 99% thing at this moment. We want to get rid of AMD64/Xeons and use ARM64 - just energy reasons and for protecting the enviornment. So yes :) I try the kind-head and the rossgeorgiev/kind-node-arm64:1.21... |
@BenTheElder would it be ok for you if I apply the rossgeorgiev patch to main? This is outdated and needs to be moved to master. main...rosti:v0.9.0-build-node-image-binary What this basically does, it adds a --type bindir option to the kind image builder. It allows us to use the official kubernetes binaries:
|
--type is deprecated so you can apply it locally but we won't be merging it. We will be shipping arm images at head shortly and I'll be focusing my energy there #2176 |
Here the logfiles:
$ docker start kind-control-plane https://pastebin.com/Ycapr0us I think the relevant part is this here:
|
It looks like we have no /var/lib/kubelet in the "rossgeorgiev/kind-node-arm64:v1.21"
|
Cool - I give "bentheelder/kind-node:arm-test" a test! |
@BenTheElder please have a look
I uploaded the logfile here: https://workupload.com/file/DqqjxYCRcfm It also fails - however - we have the config :)
|
is your distro missing cgroups ...? |
How do I check this? I am currently using the latest rasberrypi os (still beta on 64bit): https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-04-09/ Happy to check the kernel config and to recompile it - can you point me in the right direction? |
It looks like you pointed me to the right tool: https://www.raspberrypi.org/forums/viewtopic.php?t=203128 You need to enable this on Pi via /boot/cmdline.txt and some quriks: https://blog.codybunch.com/2020/07/31/Fixing-cgroup-memory-on-Raspbian-Buster-for-Kernel-54x/ Happy to test / document this. |
that last link looks like what you need -- most distros include cgroups mounted OOTB now, and you shouldn't need to compile the kernel for any of them, "just" changing the boot cmdline. hopefully it will work after that 🤞 |
I can confirm this works. @BenTheElder big thx! I spend you a beer if you are in DE or DK. Here fore some documentation.
To install kind:
|
Thanks for following up! that looks right. This is probably worth a guide somewhere, perhaps after we officially land OOTB arm support 😅 |
https://github.com/kubernetes-sigs/kind/releases/tag/v0.11.0#contributors is out now. we should probably still add an rpi guide. |
Hello,
I need a bit help with debugging a not starting arm64bit kindes/node on Raspberry PI 64.
I am using the most recent 64bit (beta!) version of RaspiOS- https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-04-09/
As kind doesn't provide us with official kindes/node image, I am using this https://hub.docker.com/r/rossgeorgiev/kind-node-arm64. This is - when posting the article here - about 1-2 days old having the most recent version of kubernetes (1.21 at the moment).
Please notice - the rossgerorgiev version is build and run on Ubuntu64 for the Pi - I am using the Raspberry Pi64.
I will attach a docker logs message and a kind log message with -v 99.
It would be so cool if you guys can push me in a direction on how to debug this.
(I tried to use the official image of rossgeorgiev and also to build my own version with rossgeorgiev patch to kind - but the logs are equivalent).
The text was updated successfully, but these errors were encountered: