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
Reassignment Duplicate IP after deleting IP pool #1591
Comments
try restart metallb controller pod? |
yes , If the controller is not restarted, the IP will not be reallocated. |
these are some errors in controller
|
Hi @SihengCui , sorry for the delay in getting back. |
There will be a random part of the situation where the IP cannot be modified. The service template is exactly the same, only the name is different.
My kubernetes version is 1.25.2. Set the service of duplicate ip to clusterIP type and then change it back to loadbalancer, it works correctly. |
I think I found the bug, need to think about how to address it properly. It depends on the order the controller receives the service when it gets back, and was introduced (I think) by #1230 |
Hello! I have find a problem caused by IP reassignment after deleting IP pool.
k8s version: 1.25.0 metallb: 0.13.5
At first, I have two autoAssign ip pools.
kubectl get ipaddresspools -n metallb-system -oyaml
The services may be divided into ips in two different ip pools.
kubectl get svc -A | grep Load
Then I deleted the default1 ippool, restart controller, in my opinion, the reassigned ip for
istio-ingressgateway
andkube-state-metrics
should not use 192.168.10.1.kubectl delete ipaddresspools cheap -n metallb-system
But
The text was updated successfully, but these errors were encountered: