I'm setting up a multi-master Kubernetes cluster on-premises and I'm curious about load balancing. I know major cloud providers like Azure and AWS have their own solutions, but what do you all recommend for an on-premises setup? Should the load balancer run on a separate machine? Would love to hear about your experiences. Thanks!
5 Answers
I personally use MetalLB with BGP mode, and it's been working great for managing traffic effectively to my API servers.
MetalLB is a popular choice for load balancing in on-prem Kubernetes clusters. It's designed specifically for this scenario, and many users have had success with it.
I've also used MetalLB in BGP mode, and it definitely does the job. Alternatively, some folks prefer HAProxy for its robust features and flexibility.
Quick question: does the load balancer just redirect requests to the API server on one of the master nodes? Is it really necessary if you only have a single master?
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures