MetalLB Basic Setup
The guide walks through a basic configuration of MetalLB for a single address pool on a layer 2 network. This will allow assigning different IP addresses by app.
Set Address Pool & L2 Advertisement in MetalLB-Config
Configure metallb-config
values.yaml
as shown below.
3. Optional: Specify IP Address per Chart or Service
5. Verify IP Addresses Are Assigned
Run the command kubectl get svc -A
to verify the IP addresses assigned for each of your charts. The IPs will be listed under the EXTERNAL-IP
column.
If you have an IP conflict with a previously assigned address it will show as <pending>
.
For details on other configuration options, please reference the MetaLB documentation.