-
-
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
The load balancer IP addresses are not being release after the LB-type Services are deleted #835
Comments
I enabled the debug level and saw the same Service object was reconciled again and again.
It seems that the Service's UID was not put into the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In ARP mode, kube-vip does not remove the load balancer IP address from the node's network interface when the LB-type Service object is deleted.
To Reproduce
k3sup
blog
withnginx
imageblog
Deploymentkubectl expose deployment blog --port 80 --type=LoadBalancer --overrides='{"metadata": {"annotations": {"kube-vip.io/loadbalancerIPs": "192.168.100.201"}}}'
kube-vip
Pod is and SSH into the node to check whether the load balancer IP address is actually assigned to the network interface that kube-vip is working onExpected behavior
The load balancer IP address should be removed from the network interface of the node after the corresponding LB-type Service object is deleted.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Kube-vip.yaml
:Additional context
This was first found in a Harvester deployment (RKE2-based cluster) validating the load balancer functionality when upgrading kube-vip from v0.6.0 to v0.8.0 (details were recorded in harvester/harvester#5682), but the same issue is also spotted on a newly created K3s cluster, as described in the reproduction section. I hope this will help reduce the noise.
The text was updated successfully, but these errors were encountered: