Skip to content

Hardware

Description

If you trying to do something similar, my suggestion is using Raspberry Pis 4 with at least 4GB of RAM ( 8GB is better). The main limiting factor is memory, so the more memory you have the better.

The hardware I am currently using is:

You will also need jumper cables for the fans.

Some images from the cluster: Node with disk Node with disk Cluster

I will not describe on how to set up DHCP, DNS, e.t.c servers because they are out of the scope of this project. Before starting I would suggest having a good convention of naming your devices, because when (not not if -- do not doubt about the fact that hardware will fail) the hardware fails it will be difficult to locate without good naming conventions. I would also suggest of not hardcoding IPs, because if you have to scale your network and everything is hardcoded, then you are out of luck.

I would not suggest setting up the DHCP, DNS server on the kubernetes, because you will have a chicken and egg problem. If there is a total failure (e.g. a power outage) you will not be able to restore the cluster. If the DHCP, DNS server is inside the cluster, then the services will not be able to start because the cluster is not up, and the cluster is not up, because there is no DHCP, DNS server. Currently I am using a DD-Wrt router for these services. In case the router fails, I always have on stand by an another router, that I can set up with the same parameters. Of course they will be a downtime, but you have to choose your fights.