Troubleshooting
2025.10
Compute
Networking
VMHA
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Troubleshooting MetalLB Add-on
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
MetalLB offers external load balancing for applications within PCD-K clusters. As an external add-on for PCD-K Kubernetes clusters, MetalLB's broken functionality can significantly impact service availability. When MetalLB experiences issues, here's a general guide on how to troubleshoot CoreDNS Add-on Issues.
Environment
- Private Cloud Director - v2025.4 and Higher.
- Kubernetes Cluster - 1.31.2 or Higher.
Procedure
- MetalLB has all MetalLB objects, a controller pod and speakers pods per worker node deployed in the
metallb-systemnamespace. Verify the pod status in the namespace using the command:
Verify MetalLB pods
$ kubectl get pods -n metallb-system- Review why these pods are in "
CrashLoopBackOff/OOMkilled/Pending/Error" state, see the events sections part of the command:
Check events
$ kubectl describe <pod-name> -n metallb-system- Validate if the
MetalLBservice shows the correct IP address pools using command:
Get IPaddressPool details
$ kubectl get IPAddressPool -n metallb-system- Verify that the
metallb-webhook-serviceservice has correct endpoint IP address of themetallb-controllerpod. - Get more information on the failure from pod logs using command:
Command
$ kubectl logs <pod-name> -n metallb-system- Ensure that MetalLB VIP/MAC address pair mapping is added on all the worker nodes. As Mac address spoofing is not allowed by Port Security.
- If these steps prove insufficient to resolve the issue, kindly reach out to the Platform9 Support Team for additional assistance.
Most Common causes:
- Incorrect IP range mentioned in the
IPAddressPools. L2AdvertisementorBGPAdvertisementresources are not created as perIPAddressPoolsOr advertisements are misconfigured.- MetalLB VIP/MAC address pair mapping is missing on all/some of the worker nodes.
- Check Calico pod logs for errors, since MetalLB relies on Calico's functionality.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message