Menu

How I Built a Homelab Cluster from 3 Unused Laptops
📰

How I Built a Homelab Cluster from 3 Unused Laptops

DEV Community: kubernetes·Iyanu Falaye·about 10 hours ago
#VnCSaKAq
#devtokubernetes#devto#dev#three#cluster
Reading 0:00
15s threshold

Three laptops and an itch

I had three laptops that nobody was using. All three still booted, and all three were more than capable of running Linux. That was the problem: too good to throw away, too boring to keep as they were.

At the same time I was teaching myself platform engineering: Kubernetes, Terraform, the AWS side of things. Nearly all my practice had happened on throwaway clusters running inside Docker on one machine. Those are fine for learning commands. They teach you nothing about what happens when a machine disappears.

So the idea was simple. Put Linux on all three laptops, join them into one real cluster, and then break it on purpose. No cloud bill, no free-tier clock ticking. Three physical machines on a shelf.

This is how that went, including the parts that did not work.

Why three, not two

My first plan was two laptops. I had a guide for a K3s cluster with two control-plane nodes, and it came with a catch: two servers cannot form a safe quorum on their own.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.