In some clusters IP addresses are dynamically assigned and reassigned to different hosts. The initial version of Multi-Host Interface networks only supports discovery of addresses that are bound to an interface when Nomad is started. This is because the network fingerprinter is only ran once on startup.
Unfortunately the problem is more nuanced than just periodically fingerprinting network interfaces. In some cases the floating address is never assigned to an interface and is managed by other networking tools and products. For example, GCP load balancers can use direct routing where the incoming packet's destination address is unchanged and is the address of the GCP managed loadbalancer and thus would never be fingerprinted by Nomad.
Nomad host_network configuration should support a way of configuring a virtual address that can be reported to the servers and used in scheduling.
It's really sad to see that this is considered an enhancement as it was brought up several times as a usecase in #646 by @skozin / @rkno82
Why can't 0.0.0.0/0 be consideret as a valid cidr and then bypass interface fingerprinting on that mask
@nickethier Any updates? Our usecase is still blocked
Most helpful comment
It's really sad to see that this is considered an enhancement as it was brought up several times as a usecase in #646 by @skozin / @rkno82
Why can't 0.0.0.0/0 be consideret as a valid cidr and then bypass interface fingerprinting on that mask