Background

When deploying an on-premises k8s cluster, I ended up having a requirement to setup an "external" load balancer.  The best candidate that fits this need was MetaLB.

Walkthrough

I chose to use the helm install installation method to deploy MetalLB into my k8s cluster.

https://metallb.universe.tf/installation/#installation-with-helm

---
configInline:
  address-pools:
   - name: default
     protocol: layer2
     addresses:
     - 192.168.200.50-192.168.200.60
...


helm repo add metallb https://metallb.github.io/metallb

# see above for the snippet of the values.yml file
helm install metallb metallb/metallb -f values.yaml

Appendix


DocumentLink
1MetalLB installation methodhttps://metallb.universe.tf/installation/
2MetalLB repositoryhttps://github.com/metallb/metallb