spidernet-io / spiderpool

Underlay and RDMA network solution of the Kubernetes, for bare metal, VM and any public cloud
https://spidernet-io.github.io/spiderpool/
Apache License 2.0
535 stars 75 forks source link

spiderpool and kubevirt #3903

Open haiwu opened 2 months ago

haiwu commented 2 months ago

What help do you need?

per doc https://spidernet-io.github.io/spiderpool/v0.9/usage/kubevirt/, if using spiderpool, it seems there's no way to support live migration.

Is this correct? In the doc, it says live migration won't work if using macvlan, ipvlan, ovs-cni.

Would spiderpool work with cni bridge mode only (not macvlan, not ipvlan), and still support live migration? This is not covered in the above doc.

haiwu commented 2 months ago

@ty-dc: any suggestions?

ty-dc commented 2 months ago

@ty-dc: any suggestions?

Hi, greetings, as mentioned in the document, the passt and bridge modes do not support live migration, but most other scenarios are supported.

If there are still scenarios that are not supported, your additional input is welcome.

haiwu commented 2 months ago

@ty-dc : Thanks! What most other scenarios (with Spiderpool) are known to work well and have support for Kubevirt live migration?

I guess I am very confused on this one. The doc does not point out the supported path. macvlan/ipvlan are known to have no support for live migration.

ty-dc commented 2 months ago

@haiwu Thank you for your feedback. The document lacks a description of supported paths, which we will add later. If you know which ones are supported during use, you can submit a PR to supplement them at any time.

haiwu commented 2 months ago

@ty-dc : I am not sure which path would be promising. Do you think spiderpool would work with simple bridge cni (not macvlan, nor ipvlan), just simple bridge cni?

live migration does work if the kubevirt vm only has the multus interface, and it is with bridge cni, and it has the allow..migration annotation.