Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Kubeadm broken on armv6l #253
First off, thanks for using Kubernetes on ARM
This is a known issue; it was discussed in kubernetes/kubernetes#38067 and we dropped armel support (which part of RPi 1 uses when cross-compiling).
Basically armhf (GOARM=7) can't run on the Pi 1, so we used armel with GOARM=6 in -v1.5 to support RPi 1. However, we went all armhf in v1.6, hence it's not working on the Pi 1.
Also, with the armhf switch, we were able to use https://hub.docker.com/r/armhf/alpine, which is great.
Hope it helps, but sorry for not being able to support the RPi 1 anymore.
If you want to help with documenting it/spreading the word, please do or come with suggestions
referenced this issue
May 24, 2017
Is it possible to discuses a reintegration of armv6l Support. I found many Posts showing the interest for using Kubernetes on Pi Zero and other armv6l Pi Devices. P Zero is good for hosting Micro Services in Kubernetes or Swarm Cluster Environments. Docker Swarm works well for me. So it would be nice if anyone could recycle the discussion. Pi clusterhat is properly a nice demo infrastructure.
Looking at the current docker.io build for the pi zero,
It does seem to be using a recent version of go.
I agree that there is not enough ram to use k8s on it in a standalone mode, but having it be a slave on a bigger master, it should have enough resources to do some useful things still.
This is not true today since official images on different architectures are updated simultaneously. For example https://hub.docker.com/r/arm32v5/debian/, https://hub.docker.com/r/arm32v7/debian/ and https://hub.docker.com/r/amd64/debian/ were all updated 9 days ago.
https://hub.docker.com/r/arm32v6/alpine/ runs well on Pi Zero.
I hope that you will reconsider it. Stopping Pi Zero from running latest k8s is so disappointing.
Hi @juliancheal ,
I am still in the middle of building k8s on ClusterHAT, but I was able to compile and build binaries for Pi Zero.
Basically, I have followed the below with some modifications:
I worked on wsl:
#1 install gcc-arm-linux-gnueabi instead of gcc-arm-linux-gnueabihf
#2 before building for linux/arm, make two modifications to set_platform_envs() in hack/lib/golang.sh
GOARM has to be 5. If you specify 6, you will get a linker error during the build. (Which I couldn't resolve.)
@dbwest Yes, I used make all to build binaries. The exact commands I used were:
I needed binaries for nodes, so only those three binaries were needed.
I didn't use kubeadm. I was following Kelsey Hightower's "Kubernetes the Hard Way". As described here, you just need to put those binaries in appropriate location.