Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.3 is no need passt any more? #11896

Closed
caijian76 opened this issue May 12, 2024 · 6 comments
Closed

V1.3 is no need passt any more? #11896

caijian76 opened this issue May 12, 2024 · 6 comments

Comments

@caijian76
Copy link

caijian76 commented May 12, 2024

ubuntu22.04 x86
k8s v1.28.9 with cilium CNI AND k8s v1.25.9 with calico CNI

I found that when I created a VM, without using any network configuration and without open any feature gate(like https://github.com/kubevirt/kubevirt/blob/main/examples/vm-cirros.yaml ), its network behaved as if it had used the passt network configuration, the VM correctly used the same IP address of the pod, and can export VM port to nodeport using k8s service. Is this a new feature? What is the difference with passt?
image
image

Can pass the test using nc listen and connect in 2 VM with any port.

@sbrivio-rh
Copy link

@caijian76 thanks for tagging me on #11591 -- please tag me directly on the right issue next time. :) I don't exactly remember how the other bindings (bridge, masquerade) look like. I don't see an IPv6 global unicast address here so, assuming it's available on your setup, it doesn't look like passt to me.

@AlonaKaplan, @EdDev, any pointer?

@EdDev
Copy link
Member

EdDev commented May 13, 2024

If no network interfaces are defined and no Kubevirt CR config is specified, bridge binding is used by default. You can examine the VMI manifest to see it.

@caijian76
Copy link
Author

@EdDev Doesn't look like a bridging network,VM's IP same as pod ,and This IP address can be used to communicate with the virtual machine,The current network is more reminiscent of the passt.

@EdDev
Copy link
Member

EdDev commented May 14, 2024

Bridge binding passes the IP from the pod to the guest. I specified how to check it in my prev message.

@sbrivio-rh
Copy link

@caijian76
Copy link
Author

@EdDev @sbrivio-rh ok , get it . THK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants