Stream: homelab

Topic: Raspberry PIs for homelab


view this post on Zulip Patrick Arminio (Nov 18 2024 at 08:57):

Hi there, I have a few raspberry PIs (a couple of 5 and a couple of 4), could I use them to host apps like pihole, home assistant and random web services?

view this post on Zulip Raúl (Nov 18 2024 at 15:26):

Yes, they're perfect for that. I've had pihole running on RPi 2 for around two years now, and it's been working great. I think I even heard of people hosting Jellyfin on a RPi. And if you have multiple Pis and are feeling brave or want the learning experience, you could even set up a kubernetes cluster to run your stuff.

view this post on Zulip Patrick Arminio (Nov 18 2024 at 15:37):

@Raúl thanks! yeah I was thinking of using something like k8s, mostly because I'd love to use all these raspberry pis as if they were one machine

view this post on Zulip Raúl (Nov 18 2024 at 15:39):

Just keep in mind that K8s adds a lot of complexity, so if you're not used to it, it may be a little overwhelming.

view this post on Zulip Patrick Arminio (Nov 18 2024 at 16:00):

good to know!

view this post on Zulip Adam Bedenbaugh (Nov 18 2024 at 18:30):

I've used pihole and jellyfin on a raspberry pi 4 and both worked well. I prefer to use docker compose for because I find it easiest. If you are interested in Kubernetes on a Pi, then check out k3s. Its a lightweight version of Kubernetes.

view this post on Zulip Raúl (Nov 18 2024 at 18:33):

I also use compose but I have a single Intel NUC. Compose doesn't do clustering. Good tip about k3s! And there's also docker swarm, which is probably a much saner option for a homelab setup.

view this post on Zulip Justin Garrison (Nov 20 2024 at 20:40):

I’ll throw out the suggestion of using Talos for Kubernetes (only pi 4 support) or k2d for a Kubernetes interface on top of docker

view this post on Zulip Ron Waldon-Howe (Nov 20 2024 at 22:14):

I used Talos for a long time on my Pi cluster, but could only get drivers for HAT accessories from the official Raspberry Pi kernel
It was painful getting those modules into a system extension for Talos
Without obscure hardware, however, Talos is amazing

view this post on Zulip Patrick Arminio (Nov 21 2024 at 08:01):

@Justin Garrison thanks! I have two PI5 so Talos is a no go :( I might try nixos though :blush:

view this post on Zulip FlakM (Nov 26 2024 at 17:23):

@Patrick Arminio Nixos has a very nice k3s module :ok:

view this post on Zulip Patrick Arminio (Nov 26 2024 at 17:27):

@FlakM do you have a link? :D

view this post on Zulip FlakM (Nov 26 2024 at 17:28):

You can search for the options using search on website: https://search.nixos.org/options?channel=24.05&from=0&size=50&sort=relevance&type=packages&query=k3s

view this post on Zulip FlakM (Nov 26 2024 at 17:32):

I run it on my dev machine to test helm charts, it's a single line away https://github.com/FlakM/nix_dots/blob/0e09dc06885409a6207a89f549db64b137a1745a/shared/k3s/default.nix#L4 happy to help if you need it :ok:

view this post on Zulip Patrick Arminio (Nov 26 2024 at 17:35):

oh I see, cool! I'll check once I finally make time to install everything on the first PI :D


Last updated: Dec 12 2024 at 16:20 UTC