-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LB for VIP HA doesn't work if there's no kubelet on master nodes #780
Comments
Could you elaborate more of your setup. is kube-apiserver is running as a process?
What do you refer to |
|
What will update the addresses section of that endpoint?
|
I think it's kube-apiserver. Here's my test steps
|
Ok I checked my env as well, looks like that ip is picked from node's internal ip. Then this endpoint object could be a source of truth. Then indeed a new option could be added for ipvs, to use endpoint object to find the backend node. |
Is your feature request related to a problem? Please describe.
LB for VIP HA doesn't work if there's no kubelet on master nodes, because it watches master node labels to add backends, see code here
kube-vip/pkg/cluster/clusterLeaderElection.go
Line 297 in ac5895a
no kubelet on masters => no master node object
Describe the solution you'd like
Maybe the ipvs LB can watch something else. For example, the kubernetes endpoint, but we need more investigation about the lifecycle of endpoint.
The text was updated successfully, but these errors were encountered: