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?