I'm using metallb to assign IPs to LoadBalancers in a home lab k8s cluster. I've had to shrink the IP pool though as I need to use some of them in another test cluster.
I've done this but the IPs of the existing LB svcs have remained the same afterwards -- I need to give the LB svcs a kick somehow to get them to request new IPs. How can I do this?
It looks like the answer to your question is contained in this github thread.
Everything should come down to recreate your service with the appropriate configmap. Look at this answer:
Before change
Change IP address
Just apply
kubectl apply -f metallb-l2.yaml
Delete and revise by kubelet
Recreate svc
Check svc
You can also look at this github issue. Note, it is old thread.