DEV Community

Discussion on: Setting Up a Raspberry Pi Cluster

Collapse
 
brandonwallace profile image
brandon_wallace

What did you do with your cluster after you built it? What are the uses a cluster of computers? Is a cluster of computers something like RAID but at the server level? In case one fails it can be replaced without any downtime.

Collapse
 
zachinachshon profile image
ZachiNachshon

Hey, it's a good question, I've deployed k3s (Kubernetes distribution from Rancher Labs) on top of the RPi cluster. I'm using it as a production environment hosting my personal stack of services running on top of it. In addition, it serves me as a playground environment (on a different k8s namespace) when in need to offload workloads from my local machine.

The RPi cluster is a good alternative to the monthly usage fee you'll have to pay for managed VMs using the different cloud providers. In this case, you pay once and have a home lab ready to go. I'm using k3s to enjoy all the benefits there are in a managed container orchestration.

If you require to communicate with the RPi cluster from outside your home network, you can spin a basic and super cheap VM from one of the cloud providers (~5$ monthly) and run a simple service that interact with a client service running at your home network for basic request tunneling.

I'll be posting soon a k3s installation guide for the RPi cluster, you are welcome to stay tuned :)

Thanks for reading !