$ kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube-system coredns-6955765f44-slbhm 1/1 Running 19 8h kube-system coredns-6955765f44-zv8f8 1/1 Running 19 8h kube-system etcd-master 1/1 Running 38 8h kube-system kube-apiserver-master 1/1 Running 28 8h kube-system kube-controller-manager-master 1/1 Running 29 8h kube-system kube-flannel-ds-arm-68ts8 1/1 Running 7 7h27m kube-system kube-flannel-ds-arm-dflh6 1/1 Running 14 7h48m kube-system kube-flannel-ds-arm-hjh67 1/1 Running 25 7h59m kube-system kube-flannel-ds-arm-q6d7q 1/1 Running 16 7h32m kube-system kube-flannel-ds-arm-qp4fq 1/1 Running 0 7h40m kube-system kube-proxy-62lm8 1/1 Running 12 7h32m kube-system kube-proxy-9fdnh 1/1 Running 0 7h40m kube-system kube-proxy-hxm2m 1/1 Running 6 7h27m kube-system kube-proxy-vb49r 1/1 Running 20 8h kube-system kube-proxy-zpbmc 1/1 Running 12 7h48m kube-system kube-scheduler-master 1/1 Running 30 8h
Building Kubernetes on top of Turing Pi brings another dimension to the edge computing and learning, from setting up the OS, partitionning the OS, DHCP, NAT, cross compiling for the ARM32V7.
In order to install Prometheus, NATS, Cassandra using Kubernetes, we need to first create Persistency Volumes
In order to get the nodes and pods interface with each other accross the cluster. This post describes how I deployed Flannel acounting with the fact that some of the nodes have multiple interfaces (wlan0 and eth0).
During some of the manipulation of the partition table of my SD card, I ended up screwing up both my SD card and my backup Win32DiskImage backup. Moreover if your SD card is 32G, it takes around 30 minute to restore from backup. Hence the idea to come up with a way to build more resiliency in the cluster. Recreating a node from scratch should not take more than 10 mn. The propose procedure is still rather long because I did not push enough yet what the HypriotOS team, aka build a default SD image where cloud-init does 100% of the initialization work.