This addon provides the charts to deploy metallb featuring frr-mode in microk8s. The charts are largely identical to the ones from microk8s core addons and have been adapted with the necessary additional containers and environment variable.
First, add this repo as a source for addons on your cluster:
microk8s addons repo add mowoe-metallb-frr https://github.com/mowoe/microk8s-metallb-frr-addon
microk8s addons repo update mowoe-metallb-frr
You should be able to see the addon when executing metallb status
:
microk8s is running
addons:
enabled:
...
disabled:
metallb-frr # (mowoe-metallb-frr) Loadbalancer for your Kubernetes cluster (FRR Mode)
Then you can enable (-> install) the addon:
microk8s enable mowoe-metallb-frr/metallb-frr
For some reason, the metallb deployment sometimes messes up the cert configuration. A simple workaround for this is to disable the webhook checking.
You can do this by applying failurePolicy.patch
:
git apply failurePolicy.patch
This addon is incompatible with the core metallb addon and will break deployments, if they are installed simultaneously. To be safe, be sure to disable all other metallb addons, before installing this one.