r/devops • u/root0ps • Sep 01 '26
Career / learning Built a small 3-node Kubernetes homelab
I recently set up a small 3-node Kubernetes homelab using Dell OptiPlex Micro PCs running Talos Linux.
The main goal was to have a local cluster where I can learn, experiment, break things, and test tools without relying on cloud infrastructure every time. I’m planning to use it for Kubernetes networking, storage, observability, GitOps, security, upgrades, and general experimentation.
Small setup, but already a very useful playground.
Everything is in the repo: https://github.com/prateekjaindev/homelab
Curious what others here are running for their Kubernetes homelabs.
35
u/OkPumpkin7799 Sep 01 '26
Better than therapy lol
127
u/HugeRoof Sep 01 '26
I suspect you may have some overheating issues with that setup as is.
12
u/Liquid_G Sep 01 '26
Do you have anything that can provide things like DNS/DHCP/Docker registry/NTP/NFS? I have a small Synology NAS device that does all these things, and can somewhat mimic real services that an enterprise environment might have.
5
u/mangocrysis Sep 01 '26
What are their specs?
5
u/Gesha24 Sep 01 '26
I just used raspberry pi's - works just fine for smaller workloads, you have to sometimes handle rebuilding images to ARM and some other small annoyances that IMO help with learning.
1
u/satz_2809 Sep 07 '26
Can you share the hardware specs you used for the setup
9
u/Readdeo Sep 01 '26
For learning, experimenting and especially breaking things, I recommend using proxmox on them, so you can just spin up a vm, snapshot it before trying out something so you can retry. Also you can host other vms for other puropses so you can switch them around for the workload you currently need.
Will do the same thing this week with SFF versions of these.
I run gitops infrastructure, arr stack, other self hosting stuff i regularly use. Also, a test cluster for the new marketplace I'm working on.
10
u/IIGrudge DevOps Sep 01 '26
These days, why do you need all this? Install Kind or K3s and you can mimic as many nodes as you want. Easier to sandbox too cause of quick setup/teardown.
2
u/titi_prosop Sep 01 '26
Nice setup there, mate! Have fun playing around. I am wondering if you have a recommendation for a guide or some sorts of tutorials regarding achieving your goals for somebody less experienced?
3
u/Angelsomething Sep 01 '26
K3S!
1
u/justinh29 Sep 01 '26
https://github.com/justinholmes/secure-homelab
Built my own STS workload identity
1
u/Dratir System Engineer Sep 01 '26
Nice, what hardware did you pick?
1
u/UpdateInProgress Sep 01 '26
I just built my own cluster with multipass from within my ubuntu rig. It works awesome and it’s coming in handy for the CKA prep
1
u/throwawaystopper20 Sep 01 '26
Where did you order these from ?
1
u/Character-Athlete847 Sep 02 '26
How much these costs?
1
u/veritable_squandry Sep 02 '26
did it live outside? i can't even keep one mac mini cool for my lab.
1
u/b1urbro Sep 02 '26
https://github.com/kristiangogov/homelab
It's a bit outdated as I simply haven't had the time to tinker this summer between work and holidays. Will probably be rebuilding it from the ground up soon as there may have been some architectural mistakes along the way. Currently just running a compose/ansible setup because there are some services I heavily rely on (Frigate/HA/Silverbullet etc.).
1
u/Philluminati Sep 02 '26 edited Sep 02 '26
Very jealous. I wanted to build a similar setup to run a Spark cluster for data analytics. Keep doing that thing where I find something for £150 per machine on ebay let me add a little more RAM, 2.5GB LAN oh shit look at the price!
1
u/IrrerPolterer Sep 02 '26
Great! Thats how I learned the ropes with kubernetes, now I manage large scale installations for clients :)
1
u/kabrandon Sep 02 '26
3 node Proxmox+Ceph cluster with Minisforum MS-A2's. 96 total vCPU, 288GB of DDR5, ~4TB of usable SSD storage after ceph replication. Hashicorp Vault, CI runners, and Tailscale Subnet Router as Flatcar VMs, on Proxmox but outside the k8s cluster. 3 node controller+worker Talos Linux k8s cluster with some apps and my monitoring stack.
No heat issues but I did have to install some supplementary fans to keep the components cool.
1
u/corpo_monkey Sep 03 '26
You jist blink, and nobody uses physical hardware anymore. This feels like time travel. Thank you OP for reviving these memories. Godspeed on your journey.
1
u/VoodooKing Sep 03 '26
Bury them in the sand for more cooling!
1
u/Hari_Harish2026 Sep 07 '26
Where did you buy this? please tell me the shop or contact.
Also I am a learning just curious.. can we have Virtual box or VMware on a sinbge desktop make the same set-up like 3 nodes with a private network?
1
u/ManyMessage2468 Sep 07 '26
That's cool, maybe u can start ur own cloud soon lol, I want to run my stuff on my raspberry pi for other home labs
1
u/tolu_hunter Sep 16 '26
Looks great, I typically just use a bunch of VMs across two different nodes configure to communicate over the network each node has multiple control plane nodes so the cluster can function without both being up. Any thoughts on hosting anything for the public? Really lean into the no cloud setup cause your setup seems like you can hold some traffic at very least a small app
1
u/cobolfoo Sep 01 '26
You should use a promox cluster installed on your baremetal then deploy your kubernetes cluster in it (with like 3 cp, 3 workers spread across your proxmox cluster). I think its a waste of resource to have a whole cp per machine.
I have something very similar at home, but I added some spicy stuff like a CEPH cluster with HA (extra 2.5gb network card + sata disk).
1
u/redfusion Global SRE Lead Sep 01 '26
Literally built this last week.
K3s in HA mode so each instance is a controller and a worker.
I'm using flux pointed to a git repo as a mono repo with a bunch of applications defined as helm or kustomisation projects.
I'm moving from a single hp gen8 running nomad.
I'll be honest, it's been a pain to reset my expectations for storage in particular.
Apps wanting to share paths or nfs targets, bungling around with sqllite over nfs is horrible.
Dealing with GPU attachments for transcoding and machine learning hasn't been too bad though.
Still an ongoing project. K3s made it simple, flux isn't as nice as ArgoCD but it's lighter to run for my use case
0
u/sylvester_0 Sep 01 '26
Was running k3s on some Pi4s before I gave up due to hardware challenges. Much happier with my single node home server on NixOS now. I get to play with k8s plenty at work.