Proxmox and Kubernetes: What's the Best Setup for a Home Lab?
Asked by
shelter_from_rain
I'm setting up a home lab to dive into Kubernetes and run some fun projects. I've seen many people using Proxmox for this purpose, and I'm curious about how it's typically implemented. Currently, I have two mini PCs โ one as a master and the other as a slave node. When people run Kubernetes on Proxmox, do they run Proxmox on all nodes, allowing the slave to connect, or is there a different approach? It seems odd to me to run Kubernetes under a VM or LXC.
Also, I'm planning to start with Debian and k3.io for my setup. Is there a good GUI you'd recommend for learning and managing Kubernetes? I've heard about Portainer being popular, but I'm open to suggestions.
Lastly, can anyone explain how worker nodes manage traffic and recognize when another node goes down? I've been using KodeKloud and Skool to learn Kubernetes, so I hope they're good resources.
Answers
Running Kubernetes on Proxmox is actually quite common and can simplify management. You can definitely put Kubernetes in a VM without issue; many nodes in production use virtualization. As for the GUI, while Portainer has some Kubernetes features, itโs limited. Instead, Iโd recommend using kubectl to learn the commands directly, and for visualization, give k9s a tryโit's pretty intuitive! Regarding traffic management, that's Kube-Proxy's job within the cluster. If a node fails, Kubernetes reschedules the workload seamlessly. Donโt overlook learning through command-line tools as itโs the best way to truly understand Kubernetes.
Reply to this answer
Proxmox allows you to scale easily by adding more workers or masters, which is great for experimentation. For visualization, I suggest Lensโitโs user-friendly. Kubernetes handles failures by moving workloads automatically to ensure minimal disruption. The specific service type you use will dictate how external traffic is handled.
Reply to this answer
Using Proxmox does add an extra layer to manage, but it also gives you flexibility. For instance, with virtualization, you can create multiple nodes on a single device, and snapshots are an awesome feature for backups. While Proxmox is useful, it can be a bit much for beginners; consider starting with a simpler setup and exploring other tools like kind for multi-node practice without heavy hardware requirements. KodeKloud is excellent for Kubernetes, but Iโd suggest focusing on specific resources tailored to your learning.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions