kubeadm is an awesome tool for getting started with Kubernetes.
This short post shows you how to get started on
Raspberry Pi 3.
For some reason
cgroup=cpuset wasn’t enabled in the kernel for HypriotOS so
I had to enable it in
HypriotOS/armv7: root@minion1 in ~ $ cat /boot/cmdline.txt +dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=cpuset cgroup_enable=memory swapaccount=1 elevator=deadline fsck.repair=yes rootwait console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
The guide Installing Kubernetes on Linux with kubeadm shows
you how to install, if you scroll down to the end of the page (which I didn’t
and wish I had) you can see how to install Kubernetes using
Thank’s to Lucas I guess.
Also while reading the official documentation
for kubeadm, there’s
kubeadm init flag
--use-kubernetes-version you should set to
I didn’t read the last part of the guide (or it wasn’t present while I read it)
so I had to do things the hard way (or backwards). The good thing is that
you can use my
ARM version of weave-kube
instead of flannel, for pod networking.
kubectl create -f https://raw.githubusercontent.com/kodbasen/weave-kube-arm/master/weave-daemonset.yaml
kubeadm is awesome :)