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?
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.
@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
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.
good to know!
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.
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.
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
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
@Justin Garrison thanks! I have two PI5 so Talos is a no go :( I might try nixos though :blush:
@Patrick Arminio Nixos has a very nice k3s module :ok:
@FlakM do you have a link? :D
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
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:
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