-
Notifications
You must be signed in to change notification settings - Fork 108
Description
I want to build metal-lb load balancer with a range of IP address to assign for mariadb deployment using helm.
I've following 3 Kubernetes nodes and a jump server -
On each of those VMs I've 2 adapters
- NAT network
K8s Network - 10.0.2.0/24 - Vboxnet0
#############################################################################
root@control-plane:/home/vboxuser# ifconfig | grep inet | grep -v inet6
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet 10.0.2.4 netmask 255.255.255.0 broadcast 10.0.2.255
inet 192.168.56.102 netmask 255.255.255.0 broadcast 192.168.56.255
inet 127.0.0.1 netmask 255.0.0.0
inet 10.10.235.128 netmask 255.255.255.255 broadcast 0.0.0.0
root@control-plane:/home/vboxuser#
#############################################################################
vboxuser@work-node1:$ ifconfig | grep inet | grep -v inet6$
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet 10.0.2.5 netmask 255.255.255.0 broadcast 10.0.2.255
inet 192.168.56.103 netmask 255.255.255.0 broadcast 192.168.56.255
inet 127.0.0.1 netmask 255.0.0.0
inet 10.10.64.0 netmask 255.255.255.255 broadcast 0.0.0.0
vboxuser@work-node1:
#############################################################################
root@work-node2:/home/vboxuser# ifconfig | grep inet | grep -v inet6
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet 10.0.2.6 netmask 255.255.255.0 broadcast 10.0.2.255
inet 192.168.56.104 netmask 255.255.255.0 broadcast 192.168.56.255
inet 127.0.0.1 netmask 255.0.0.0
inet 10.10.181.128 netmask 255.255.255.255 broadcast 0.0.0.0
root@work-node2:/home/vboxuser#
#############################################################################
root@jump-server:/home/vboxuser# ifconfig | grep inet | grep -v inet6
inet 10.0.2.7 netmask 255.255.255.0 broadcast 10.0.2.255
inet 192.168.56.105 netmask 255.255.255.0 broadcast 192.168.56.255
inet 127.0.0.1 netmask 255.0.0.0
root@jump-server:/home/vboxuser#
#############################################################################
Based on your documentation - https://mvallim.github.io/kubernetes-under-the-hood/documentation/kube-metallb.html
how to configure the local routing ?
what should be routes and bit explanation.