# MetalLB: A Commodore component to manage MetalLB

MetalLB: A Commodore component to manage MetalLB is a Commodore component for managing MetalLB. The component is based on the official Helm Chart.

 Currently there is no support for taking over an existing installation based on the official guide

See the parameters reference for further details.

## Prerequisites

A memberlist key must be generated and stored inside the secret key management.

A pre-generated key ensures that the manifests can be applied multiple times without the secret key changing. Otherwise, elevated fail-over rates may occur during manifest application, as the speakers can not communicate during the rollout, due to differing keys.

vault kv put -cas=0 clusters/kv/${TENANT_ID}/${CLUSTER_ID}/metallb-memberlist secretkey="\$(openssl rand -base64 128)"

## Layer2 Mode (default)

For a minimal configuration, a CIDR defining the VIP range is required.

parameters:
metallb:
- 10.128.1.200/32

## BGP Mode

The BGP mode can be configured by providing a full config to MetalLB.

parameters:
metallb:
config:
peers: