yunify / hostnic-cni

hostnic-cni is a Container Network Interface plugin.
Apache License 2.0
31 stars 12 forks source link

support move pod on one node to other nodes with same ip #40

Open martinyunify opened 6 years ago

magicsong commented 5 years ago

For short, just mv the nic to the nodes before pods scheduling In detail, we have to do some more dirty work:

  1. binding the pod with nic and make sure no other pods will use this nic (not hard to do)🔔
  2. loose the relationship of vxnet and node (right now, a vxnet is owned by one node so the pods in the same node are in the same cidr ). 🔔🔔🔔
  3. hostnic daemon should be informed if the pod with specify ip will schedule to its node (🔔🔔🔔🔔)

/kind feature /kind design

magicsong commented 5 years ago

/assign