Looking for recommendations for a LB with K3s for our env #11720
Replies: 1 comment 3 replies
-
Why doesn't it work? All it does is use the host IPs as loadbalancer addresses, as you asked for. What does this has to do with being on different subnets? You need to either use the host IPs, OR use a virtual IP. You can't do both. Any "real" loadbalancer will use a Virtual IP, or an IP that floats between dedicated loadbalancer hosts. If you want to use a virtual/floating IP, your nodes or loadbalancers need to all be on the same subnet, or you need to be able to integrate with upstream routers via BGP or some other routing protocol. You have a networking problem, not a Kubernetes problem. |
Beta Was this translation helpful? Give feedback.
-
Our env:
Requirements:
I have researched the following:
K3S_TOKEN=lb-cluster-gd
?I know our env is limited. I also know the real answer is "Get Metal-Lb set up properly", but for now is there a way to use haproxy or have service-lb be able to expose ports on all the nodes to pass data to from haproxy?
Beta Was this translation helpful? Give feedback.
All reactions