Re:Ask HN: What is your Kubernetes nightmare?
by notwedtm on Monday June 27, 2022 @10:43AM
(#31895244)
not necessarily a router you don't control, but MetalLB does provide some nice LoadBalancer constructs for a bare-metal deployment. Putting Vyos infront of it is magical!
Re:Ask HN: What is your Kubernetes nightmare?
by fireflash38 on Monday June 27, 2022 @11:10AM
(#31895641)
K3s uses their own loadbalancer, so yes. It will add extra hops to any of your services if you care about sub-ms latency.
I looked at metalLB, and didn't really fit with what we wanted to do, so YMMV. It's pretty limited unless you control a lot about your IP space.
Why would you need a load-balancer if you only have a single machine?
Because kubernetes says so? Can you run it without a load balancer?
Re:Ask HN: What is your Kubernetes nightmare?
by xiwenc on Monday June 27, 2022 @10:16AM
(#31894898)
You can use Nodeport instead of loadbalancer. Or use metallb if you insist to have LB so that it’s more closer to real production environments.
Re:Ask HN: What is your Kubernetes nightmare?
by withinboredom on Tuesday June 28, 2022 @12:38PM
(#31909948)
“Real production” smh. This is why docs make baremetal second class citizens, people assume something has to be a certain way for it to be “real.”
Can you even run a "loadbalancer" if all you have is a single machine with a single IP behind a router you don't control? I got stuck on that the last time I tried running my own kubes.