I understand the allure of real hardware and doing this on a physical cluster but I'm always surprised not to see K8s/k3s/whatever running under (inside?) LXD as a learning/experimentation tool discussed more often. The physical cabling, underlying operating system, bootstrapping etc strikes me as the least of the K8s learning experience and the only advantage of a toy running on Pis vs LXD. Not to mention most K8s d…
Raspberry Pi Homelab with Kubernetes
31–40 of 52 posts
Re: Raspberry Pi Homelab with Kubernetes
#32As has become my habit lately, I'll chime in and say if you're interested in accessing your self-hosted services from the internet, IMO tunneling is the way to go: https://github.com/anderspitman/awesome-tunneling
Re: Raspberry Pi Homelab with Kubernetes
#33I run microk8s on KVM running in Mesos with openvswitch and Mikrotik CRS/CCRs.
Re: Raspberry Pi Homelab with Kubernetes
#34Why are people still posting these Pi homelabs they have been done to death. I run microk8s on KVM running in Mesos with openvswitch and Mikrotik CRS/CCRs.
Re: Raspberry Pi Homelab with Kubernetes
#35Why are people still posting these Pi homelabs they have been done to death. I run microk8s on KVM running in Mesos with openvswitch and Mikrotik CRS/CCRs.
Because they have a lot of Raspberry Pis, they want to setup kubernetes, and they have fun doing it and what to share that with the rest of the internet?
Re: Raspberry Pi Homelab with Kubernetes
#36Raspberry Pi isn't as laughable as that, but the fact is that what you are getting out of this is a learning opportunity, not a reliable or high-capacity computing platform.
And even there, 4 Pi4Bs with 8GB will cost you $400 and more, once you add in power supplies and SD cards and desiderata. The first hit on Craigslist just now was a $200 4 core i7 with 8GB of RAM (upgradable) and a 256GB SSD in a nice small case. Two of those will get you better overall performance and leave room for expansion.
Re: Raspberry Pi Homelab with Kubernetes
#37I understand the allure of real hardware and doing this on a physical cluster but I'm always surprised not to see K8s/k3s/whatever running under (inside?) LXD as a learning/experimentation tool discussed more often. The physical cabling, underlying operating system, bootstrapping etc strikes me as the least of the K8s learning experience and the only advantage of a toy running on Pis vs LXD. Not to mention most K8s d…
Re: Raspberry Pi Homelab with Kubernetes
#38Earlier quoted context omitted.
Most of my services are only available by using a vpn into my home network. I can understand why you might need a public facing service but I avoid it like the plague.
I see it as an important step to a more decentralized future. For example, I know a few people who maintain Plex servers for their friends and family. This works quite well, but getting the server on the internet is the trickiest part. You can sink a lot of time into configuring routers, managing certs, NAT, DMZ, LMNOP. Or you can use a tunneling service that manages all of it for you.
Re: Raspberry Pi Homelab with Kubernetes
#39I have what I feel is an irrational desire to build an RPi k8s cluster. I feel like I would be better served by a small x86 box, but something about having a real cluster really appeals to me.
Re: Raspberry Pi Homelab with Kubernetes
#40I've found k3s ( https://k3s.io/ ) to be extremely easy to use for setting up and running kubernetes on a group of Raspberry Pis. Specifically, I followed this guide to get my clusters up and running quickly and it's worked out pretty well: https://blog.alexellis.io/test-drive-k3s-on-raspberry-pi/