Forwarding this to centos-devel, as that's where other discussions around kubernetes rebuild[s] takes place too.
What would be the best way to to have people from armhfp world discussing with the people managing/maintaing k8s on cbs.centos.org ? Just opening a thread about this, but it's good to know that : - people are willing to (re)build it for armhfp - and that it works with just rebuilding the src.rpm from cbs.centos.org (covering so far x86_64, while aarch64, ppc64le are also other available target arches in koji/cbs)
BTW, kudos to Wagner Sartori (trunet) for the rebuild ! :-)
-------- Forwarded Message -------- Subject: {Disarmed} [Arm-dev] Kubernetes support on ARM32 Date: Fri, 23 Feb 2018 06:13:48 -0300 (BRT) From: Trunet trunet-centos@wsartori.com Reply-To: Conversations around CentOS on ARM hardware arm-dev@centos.org To: arm-dev arm-dev@centos.org
Hey, what's up!
I finished building all needed packages to bring kubernetes to ARM. All of them were brought by simply copying src packages from CBS and doing minor or no changes at all.
To my surprise, kubeadm ran perfectly fine, it got the correspondent arm image for each component. I went with weave for pod network layer, as it have network policy and ARM support.
Manual changes, was to symlink all files under /opt/cni/bin into /usr/libexec/cni, otherwise the pods will not find the cni plugins and doesn't start (like kube-dns stuck at containercreating). And kubernetes-dashboard, you need to change tha image to be arm instead of amd64.
Repo is here: https://armv7.dev.centos.org/repodir/community-kubernetes-testing/
=================================== # kubectl version Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"archive", BuildDate:"2018-02-22T14:26:58Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/arm"} Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T11:55:20Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/arm"} # kubectl cluster-info Kubernetes master is running at https://192.168.x.x:6443 KubeDNS is running at *MailScanner warning: numerical links are often malicious:* https://192.168.x.x:6443/api/v1/namespaces/kube-system/services/kube-dns:dns... https://192.168.x.x:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. ===================================
Thanks for Arrfab for setting up the build environment and repository.
Best regards, Wagner Sartori Junior