Hardware

Hardware for my Raspberry Pi 4 K3s Kubernetes cluster

This is the list of hardware I’m going to use. You can achieve the same with much less hardware, but this is what I have.

  • 3x Raspberry Pi 3B+/4 (2 or 4 GB Ram version, more ram the better)
  • 3x 32 GB USB Disk (Samsung USB 3.1 32 GB Fit Plus)
  • UniFi Dream Machine Pro
  • 3x Raspberry Pi 15W USB-C Power Supply

Regarding the USB disks – The bigger ones (64 GB) are to be used as persistent storage for pods. I was experimenting with GlusterFS storage, some CEPH + ROOK and ended with Longhorn.

The smaller ones are boot USB disks. This way, I hope it will live much longer than an SD card 🙂 I know they are almost the same technology, but experience so far has been better than with SD cards. Best solution would be to use USB to SSD, but that adds cost.

We also going to use NFS shared storage for the Kubernetes cluster. More on this later.