I'm having a tough time getting Kubernetes set up, especially with running a Valheim game server. I'm a late bloomer when it comes to containerization and it's proving challenging. I have a control plane and two worker nodes set up in Hyper-V, and I can run some commands just fine with kubectl and see my nodes and pods. However, I'm stuck on the networking part. I understand I need a LoadBalancer service and I tried using MetalLB to assign an external IP, but I'm having issues getting the service running correctly on UDP ports 2456 and 2457. Any advice on where to start troubleshooting?
1 Answer
It sounds like you’re nearly there! Just a heads up, while Kubernetes gives you the LoadBalancer service type, it doesn’t implement it out of the box—MetalLB is your go-to for local setups. Make sure your LoadBalancer service is set up to listen on the right ports and direct traffic to your underlying pods. Once that’s configured, you should be able to hit the external IP you've set up!

Great tip! And if you’re struggling with the concepts, try checking out visual guides on Kubernetes services; they can really help demystify things.