|
|
|
|
|
by KaiserPro
3118 days ago
|
|
I'm struggling to understand why you'd want to manually assign a /24 to each node? that seems very 1990s Can't each container be bound to a virtual network interface(macvlan) and use DHCP? That allows the network to configure and manage the address pool. No fiddling with routing tables (well not for each node) and it allows peering of VPCs simply |
|
The simplest option is to just use routing [1]. You don't have to use an SDN. Not sure if DHCP is one of the officially supported options.
I know there are people out there who use MACvlan/IPvlan. Some people discourage these types of virtualized networks because the packet manipulation can be inefficient (unless the NIC explicitly supports it; I believe some support VXLAN?) and can hamper the kernel's scheduling.
[1] https://medium.com/@rothgar/no-sdn-kubernetes-5a0cb32070dd