Abstract
Documentation index for MetalLB L2 deployment.
Index for MetalLB L2 deployment to bare metal.#
MetalLB Readme#
You can find the main website at metallb.io.
MetalLB deployment#
Create
networkingnamespace[1].kubectl create ns networking
Update the values file for your environment.
Deploy the L2 version to your cluster.
helm install --namespace networking metallb . -f values.yaml
Define a simple
IPAddressPool.IPAddressPool.yaml#apiVersion: metallb.io/v1beta1 kind: IPAddressPool metadata: name: example namespace: metallb-system spec: addresses: - 192.168.10.0/24 - 192.168.9.1-192.168.9.5 - fc00:f853:0ccd:e799::/124
You can see this example and more, in the metallb helm repostory.
Apply a simple
IPAddressPool.kubectl apply --namespace metallb-system -f IPAddressPool.yaml
Define an
L2Advertisement.L2Advertisement.yaml#apiVersion: metallb.io/v1beta1 kind: L2Advertisement metadata: name: example namespace: metallb-system
Apply the
L2Advertisementkubectl --namespace metallb-system -f L2Advertisement.yaml
More information is available from the metallb documentation.