Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documenation required to enable metallab in virtualbox #137

Open
achar007 opened this issue Jan 26, 2024 · 0 comments
Open

documenation required to enable metallab in virtualbox #137

achar007 opened this issue Jan 26, 2024 · 0 comments

Comments

@achar007
Copy link

achar007 commented Jan 26, 2024

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

  1. NAT network
    K8s Network - 10.0.2.0/24
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant