Loadbalancer external IP on more than one network

247 views
Skip to first unread message

Raghav Karanth

unread,
Aug 9, 2022, 12:23:08 PM8/9/22
to metallb-users
Hi,

I have a kubernetes deployment with nodes connected to more than one VLAN. Each node has IP addresses configured on different networks. Currently we have a NodePort service that can be accessed through any of those IPs (and the port combination) on a node.

Using MetalLB, is it possible to configure a *single* loadbalancer service to have more than one external IP? The intention is to create an addresspool for each VLAN/network, and to have an external IP for the loadbalancer service *from each* addresspool/network. This way different applications running on different networks can all access the service.

Thanks,
Raghav

Federico Paolinelli

unread,
Aug 10, 2022, 6:11:32 AM8/10/22
to metallb-users
While you can't have multiple external ips tied to the same service, you can have multiple services (one per vlan) with the same set of backend pods.


 
Thanks,
Raghav
Reply all
Reply to author
Forward
0 new messages