Member-only story

LoxiLB: Another Load Balancer

DaeGon Kim
Dev Genius
Published in
2 min readNov 4, 2024

Here we will install LoxiLB on kubernetes clusters. LoxiLB is a cloud-native load balancer and a CNCF (Cloud Native Computing Foundation) sandbox project.

Installation

First we will download two manifest files: loxilb-nobgp.yaml and kube-loxilb.yaml.

wget https://raw.githubusercontent.com/loxilb-io/kube-loxilb/refs/heads/main/manifest/in-cluster/loxilb-nobgp.yaml
wget https://raw.githubusercontent.com/loxilb-io/kube-loxilb/refs/heads/main/manifest/in-cluster/kube-loxilb.yaml

Among these two files, we will modify kube-loxilb.yaml to update ip address pool information and disable BGP.

183         args:
184 #- --loxiURL=http://192.168.80.10:11111
185 - --cidrPools=defaultPool=172.25.40.1/24 # updated
186 #- --setBGP=64512 # commented out
187 #- --listenBGPPort=1791 # commented out
188 - --setRoles=0.0.0.0
189 #- --monitor
190 #- --extBGPPeers=50.50.50.1:65101,51.51.51.1:65102
191 #- --setLBMode=1
192 #- --config=/opt/loxilb/agent/kube-loxilb.conf

Now, we will apply these two yaml files.

kubectl apply -f yamls/loxilb-nobgp.yaml      # downloaded
kubectl apply -f yamls/kube-loxilb.yaml # downloaded and modified

They will deploy six components.

  • a daemonset in the kube-system namespace (loxilb-lb)

--

--

No responses yet

Write a response