3 ms·
> loadbalancers, volumes are heavily biased towards cloud providers Can you even run a "loadbalancer" if all you have is a single machine with a single IP behi
by tpxl 4y ago
> loadbalancers, volumes are heavily biased towards cloud providers
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.
- phaer 4y agoWhy would you need a load-balancer if you only have a single machine?
- tpxl 4y agoBecause kubernetes says so? Can you run it without a load balancer?
- xiwenc 4y agoYou 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.
- withinboredom 4y ago“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.”
- notwedtm 4y agonot 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! https://metallb.universe.tf/ https://metallb.universe.tf/
- fireflash38 4y agoK3s 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.