I’ve updated my Kubernetes cluster so that the Raspberry Pis are now isolated from the rest of my home network and all the components are running off an Anker 10 port USB Charging Hub. This included the following additions:
So when I said I had Kubernetes running on a four node Raspberry Pi 3 B+ cluster, I didn’t realize how complex a task it would turn out to be!
I had been following the instructions by Alex Ellis, but it turns out the latest version of Docker and Kubernetes doesn’t run well on the RPi 3 B+. I had to downgrade them to previous versions.
Then there were issues with the network stack. I tried Weave as recommended by Alex, but that didn’t work, so I switched to Flannel. I was then able to get the markdown to HTML converter example running. However, when I went to try setting up a dashboard I couldn’t get that to run because of issues with Flannel. Maybe I’ll try Calico next?
As for the hardware, I’ve added three more Pi’s to make a seven node cluster (one master and six workers).
I’ll have to spend some more time searching google and reading the K8s documentation to figure this one out.
To setup each Raspberry Pi 2 as a Stratum 1 NTP server I’m following the recipe created by David Taylor. While the recipe is very thorough and complete, I ran into an issue disabling the login prompt on the Raspberry Pi’s serial port under Debian Jessie. No matter what I did the login prompt would always be re-enabled after the Pi rebooted. This resulted in GPSD not starting correctly. Read on to find out how to resolve the issue. Continue reading “Sunday Geek Project: Raspberry Pi NTP Server Recipe”