The Hotel Hero

Notes by a Sysadmin


Cluster | Philosophy | Stack

Raspberry Pi Cluster setup considerations

February 19, 2021 | Cluster

There is a lot of tutorials out there about how to turn your Raspberry Pi's into a cluster. Before you do this yourself here are a couple of advices, depending of your goal with the project.

One of the big headaces with the Pi, is that it uses an ARM architecture and with the default Raspian OS it is actually only setup for an 32bit ARM architecture (even thou in Pi 4 the CPU is 64bit). You could either upgrade your existing Raspian OS to 64bit, or (nessesary for Microk8s) install another 64bit OS like Ubuntu's 64bit version.

Still after all of the above. A lot of pre-build images will cause failure, so consider building your own images with buildx (or better on your pi it self).

If you are going to play around with different databases your will have buggy ride, in particular if you are considering noSQL and HA area you may be better off trying to do this somewhere else.

Setting up a cluster on a Pi is fast and easy, but opperating it is more troublesome. So, don't be disappointed, but use it as a learning experience in Kubernetes (and it's almost free compared with the cloud providers).


About

I'm a Sysadmin, network manager and cyber security entusiast. The main purpose of this public "notebook" is for referencing repetitive tasks, but it might as well come in handy to others. Windows can not be supported! But all other OS compliant with the POSIX-standard can (with minor adjustments) apply the configs on the site. It is Mac OSX, RHEL and all the Fedora based distros and Debian based (several 100's of OS's), all the BSD distros, Solaris, AIX and HP-UX.

Links