Metallb
MetalLB is a load-balancer implementation for Kubernetes clusters.
It implement it using ARP or BGP
Installation
You can install metallb using kustomize :
cd cluster/system/metallb/
kubectl apply -k .
Once it's install, it will create and ip pool and advert it on the local network :
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
spec:
addresses:
- 192.168.0.20-192.168.0.99
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: advert-first-pool
spec:
ipAddressPools:
- first-pool