Kubernetes MetalLB Installation / Ubuntu 18.04 Environment
1. Installation Environment
The installation environment is as follows:
- Kubernetes 1.12
- Network Addon : Using cilium
- Helm
- Client : v2.13.1
- Server : v2.13.1
- MetalLB 0.7.3
2. Network Configuration
![[Figure 1] Kubernetes Network](/blog-software/docs/record/kubernetes-metallb-installation-ubuntu-18.04/images/kubernetes-network.png)
[Figure 1] Kubernetes Network
The network is as follows:
- Node Network : 10.0.0.0/24
- LoadBalancer Service IP : 10.0.0.200 ~ 10.0.0.220
3. MetalLB Installation
$ git clone https://github.com/helm/charts.git
$ cd charts/stable/metallb
Get Helm’s Official Stable Chart. MetalLB is currently included in Helm’s Official Stable Chart.
|
|
Configure MetalLB. Modify the value.yaml file of the MetalLB Chart as shown in [File 1]. Set MetalLB to ARP Mode and configure the range of LoadBalancer Service IPs.
$ helm install --name metallb --namespace metallb .
Install MetalLB.
4. References
- MetalLB Installation : https://metallb.universe.tf/installation/
- MetalLB Configuration : https://metallb.universe.tf/configuration/