Re: [kubevirt-dev] KubeVirt: VM Live Migration - Network Capabilities

65 views
Skip to first unread message
Message has been deleted

Dan Kenigsberg

unread,
Apr 15, 2021, 6:47:29 AM4/15/21
to Theodoros Tsourdinis, kubevirt-dev


On Thu, 15 Apr 2021, 13:26 Theodoros Tsourdinis, <ttsou...@gmail.com> wrote:

Hello everybody! First things first, I appreciate the community and the work done for the kubevirt project.

If you have adopted KubeVirt extensively, you may want to give back by adding a few words about your use case to https://github.com/kubevirt/kubevirt/blob/master/ADOPTERS.md


I am dealing with a project in which I want to live migrate a vm which is a server. Initially I do not want to lose the connection with the clients during and at the end of the migration.

The problem is that when vm goes to another worker the pod IP changes and this causes connection lost. Of course I tried to expose the socket of the vm via service so the clients can communicate via ClusterIP and the target port,  but still the connection is lost and I have to reconnect.

So the question is : Is there any way to keep a stable connection between the server (vm) and the clients through live migration?

The short answer is no. Only Multus (secondary) interfaces, where the migration source and destination are connected to the same L2 network maintain TCP connections. Is this an option for you?



Thank you in advance!

--
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/78f77605-9ec2-4f50-8803-c432f1e4f07en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages