()

Portable Kubernetes Cluster based on Raspberry Pi 4 and Rancher K3S

Powered on cluster by night with only two cables attached

Since literally everbody I know is currently working on a cloud@home project in some form I also decided to start working a long planned project: a portable kubernetes cluster.

And also a former colleague gave me the last push for it - thanks ๐Ÿ˜‰

Portability

Currently, portability means, that only 2 cables - power and network - are connected.

A later addition I am planning is attaching the cluster to a mobile router. The question ist, if the POE switch can deliver the necessary additional power for this.

And, the 52Pi rack tower has a handle to carry it around - or throw it out of the window - depends on the use case.

This will become a series of articles, lets start with the hardware.

Hardware

Parts List

#Parteach
4Raspberry Pi 4 8GB Model B (ARMv8)CHF 89.90
4Verbatim Nano 64GB USB SticksCHF 11.95
152Pi ZP-0088 Rack TowerCHF 35.00
1POE Switch Tp-Link TL-SG1005PCHF 51.30
4POE Cables LogiLink (U/FTP, Kat. 6a, 25cm)CHF 5.90
3POE Hat Type U6109CHF 23.90
1POE Hat Type U6110CHF 25.90
1Dupont Pin RowCHF 0.05
TotalCHF 614.95

All parts flat

Dupont Pins on the U6109

The U6109 actually has two rows for connectors, mine had no connectors soldered in - unfortunately.

U6109 with missing connectors

My soldering skills are a little dated, but I took my chances - and it worked out nicely.

Soldering dupont connector pins onto the POE hat

Soldered pins from top

Fan and LED connector cables can now easily be attached to the POE powered Raspberry.

LED and ventilator attached to the modified POE hat

Speaking of ventilation: the 52Pi rack tower ventilator is suprisingly quiet, but powerfull - so having it in the same room is not disturbing at all.

U6110

I removed the fan from the U6110, because they make a quite annoying sound.

Accessible SD Cards

A quite handy feature of the 52Pi rack tower are the SD card adapters. The card slots would be very hard to reach, when the case is fully assembled.

The SD card adapter makes the cards accessible from the front

Mount the POE Switch

A simple wooden plate with a bunch of holes is connected to the base of the 52Pi rack tower using 4 blue cable ties.

The 2 Screws in the middle are connected the wall-mount recess of the POE Switch.

An acrylic plate would be nice, but I donโ€™t have access to a laser-cutter.

Simple wooden plate to attach the POE Switch using the wall-mount holes

Fully assembled

The fully assembled case with the 4 USB Sticks for the Storage Cluster.

Fully assembled case with switch, cables, USB sticks and the raspberries

Looks quite shiny by night ๐Ÿค“

Powered on cluster by night with only two cables attached

Related