Configure MetalLB
TOC
PrerequisitesConfigure MetalLB ComponentsConfigure an External IP Address Pool by using the web consoleConfigure BGP Peers by using the web consoleConfigure an External IP Address Pool with L2Advertisement or BGPAdvertisement by using the CLITroubleshooting MetalLBPrerequisites
Please ensure that you have read the Installation documentation before proceeding.
Configure MetalLB Components
Configure the MetalLB custom resource's spec.controllerNodeSelector, spec.controllerTolerations, spec.nodeSelector, and spec.speakerTolerations fields after installing the Cluster Plugin. See Configure Component Placement for the configuration example and the relationship with L2Advertisement.spec.nodeSelectors.
To adjust the controller and speaker log level, set spec.logLevel on the same resource. See Adjust Log Level for supported values.
Configure an External IP Address Pool by using the web console
-
Go to Administrator.
-
In the left navigation bar, click Network Management > External IP Address Pool.
-
Click Create External IP Address Pool.
-
Refer to the following instructions to configure certain parameters.
-
Click Create.
Configure BGP Peers by using the web console
-
Go to Administrator.
-
In the left navigation bar, click Network Management > BGP Peers.
-
Click Create BGP Peer.
-
Refer to the instructions below to configure the parameters.
-
Click Create.
Configure an External IP Address Pool with L2Advertisement or BGPAdvertisement by using the CLI
BGP mode
Troubleshooting MetalLB
To see more Troubleshooting MetalLB