foundation-model-stack / multi-nic-cni

https://foundation-model-stack.github.io/multi-nic-cni/
Apache License 2.0
33 stars 5 forks source link

Remove dependency to hostinterface if not need (on-prem) #163

Closed sunya-ch closed 6 months ago

sunya-ch commented 8 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Extended from https://github.com/foundation-model-stack/multi-nic-cni/issues/138, when we use whereabouts IPAM on the host without IP address, there is no need to connect to hostinterface CR.

Describe the solution you'd like A clear and concise description of what you want to happen.

There are two ways to statically specify master name without using mapping on the hostinterface.

  1. On pod CNI args masters
  2. With mapping on multi-config IPAM

We should check and obtain the master name from those case instead of using unmanaged hostinterface.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.