Reference Topic Title
Introduction
The metalLB configMap file (mb_configmap.yaml) contains the manifest for the metalLB configMap, this defines the BGP peers and address pools for metalLB. This file (mb_configmap.yaml) must be placed in the same directory (/var/occne/<cluster_name>) as the hosts.ini file.
Table 2-2 Procedure to configure MetalLB pools and peers
| Step # | Procedure | Description |
|---|---|---|
1.
|
Add BGP peers and address groups | Referring to the data collected in the Preflight Checklist, add BGP peers (ToRswitchA_Platform_IP, ToRswitchB_Platform_IP) and address groups for each address pool. Address-pools list the IP addresses that metalLB is allowed to allocate. |
2.
|
Edit the mb_configmap.yaml file | Edit the mb_configmap.yaml file with the
site-specific values found in the
Preflight Checklist
Note: The name "signaling" is prone to different spellings (UK vs US), therefore pay special attention to how this signaling pool is referenced. configInline:
peers:
- peer-address: <ToRswitchA_Platform_IP>
peer-asn: 64501
my-asn: 64512
- peer-address: <ToRswitchB_Platform_IP>
peer-asn: 64501
my-asn: 64512
address-pools:
- name: signaling
protocol: bgp
auto-assign: false
addresses:
- '<MetalLB_Signal_Subnet_IP_Range>'
- name: oam
protocol: bgp
auto-assign: false
addresses:
- '<MetalLB_OAM_Subnet_IP_Range>'
|


