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

Add support for KubeVirt Virtual Machines with DirectVolumeMigration #1368

Open
awels opened this issue Feb 15, 2024 · 0 comments
Open

Add support for KubeVirt Virtual Machines with DirectVolumeMigration #1368

awels opened this issue Feb 15, 2024 · 0 comments

Comments

@awels
Copy link
Contributor

awels commented Feb 15, 2024

Is your feature request related to a problem? Please describe.
KubeVirt Virtual Machines have a very similar spec as pods/deployments/etc. Being able to treat them as first class citizens when doing a DirectVolumeMigration will allows us to easily migrate storage used for these VMs.

Describe the solution you'd like
Besides all the normal pod owner detection (deployments/daemonsets/replicasets/jobs/etc) also detect Virtual Machines during the discovery phase of the DirectVolumeMigration. Then list the VMs in the UI as options for migration. Then when staging the DirectVolumeMigration, copy the volumes in the same way as the other sources. When cutting over switch the volumes in the VM specification to the new volumes, same way as happens in other sources (see additional context for live storage migration).

Describe alternatives you've considered
Since conceptually VMs are very similar to deployments it makes sense to make VMs first class citizens in the DirectVolumeMigration flow.

Additional context
KubeVirt is currently working on StorageLiveMigration where a running VM can switch volumes without having to shut down. This can be integrated with the current DirectVolumeMigration process as well. Instead of shutting down the VM and finalizing the migration, we can do the migration while the VM stays running.

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

No branches or pull requests

1 participant