Kubernetes, Note to Self: Need Load Balancer Installed on Bare Metal
janusworx.com·11h
Flag this post


One thing that bit me when I was trying to expose my apps to the world when working on the home cluster, is that Kubernetes on bare metal—I was using Kind at the time—expects to talk to a load balancer service, which then talk to an actual load balancer. Which if you are using bare metal, you won’t usually have. I had to then go expose a “NodePort” to gain access from outside.

So to expose my stuff in as “real world” a way as possible, we need to:

  1. Either install a load balancer implementation like MetalLB. OR
  2. Use a Kubernetes distribution that has a load balancer implementation built-in, like K3s.

I chose…

Similar Posts

Loading similar posts...