In correlation with the end of life (EOL) for MKE 3.7.x, maintenance of this documentation set was discontinued as of 2025-AUG-29. Click here for the latest MKE 3.x version documentation. 
        
        Delete IP address pools¶
You must use the kubectl Kubernetes command line tool to delete existing IP address pools from MKE.
- Obtain all of the IP address pools that are configured to MKE. - kubectl get IPAddressPools -n metallb-system - Example output: - NAME AUTO ASSIGN AVOID BUGGY IPS ADDRESSES <IP-address-pool-name-1> true false ["192.168.10.0/24","192.168.1.0/24"] <IP-address-pool-name-2> true false ["52.205.10.1/24"] <IP-address-pool-name-3> true false ["54.205.10.1/24"] 
- Remove the target IP address pool entries from the - cluster_config.metallb_configconfiguration option of the Configuration options.
- Run the following kubectl command to delete the target IP address pools: - kubectl delete IPAddressPool <IP-address-pool-name-3> -n metallb-system 
- Restart MetalLB Controller to ensure that any persisting services set to use the deleted IP address pools receive new IPs: - kubectl rollout restart deployment controller -n metallb-system - Example output: - deployment.apps/controller restarted- Note - Any service that uses the - metallb.universe.tf/address-poolannotation with a value equal to the name of a deleted pool will remain in- <pending>state.
See also