Closed alicefr closed 1 year ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign fabiand for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
In this proposal we require the user to explicitly create the target PVC which is fine, but it would be nice in a follow up proposal to allow the user to omit that, and have the controller create a compatible target PVC of the exact same size, that would make it more like seamless live migration.
I'm not against this but just not so sure. This should be thought of like a CSIClone where you create a new PVC from another, but the copy is done with the workload migration. If you want to have a controller, then you need a new CRD that abstracts the PVC. Do we really want this? It is an open question, I don't have an opinion.
Right that is why I said for a follow up. The idea is that if we are cordoning a node or something, we would want the system to take care of moving the VMs instead of us manually live migrating the VMs beforehand. But that is definitely a more advanced use case vs simply moving from one storage class to another.
I had some offline discussions on this topic, and to keep everyone on the same page, I'll summarize here the highlights:
After this feedback, I think the PoC PR is still valid, but I need to introduce the part that handles the destination PVC. Once, I finish, I'll update accordingly this proposal
@vladikr @fabiand @davidvossel I hope I have captured the essence of our discussion. Please, correct if there is anything wrong
I'll close this proposal as we'll address separately every use-cases. I'll open a new one for the Storage Class migration
Reference PR for migrating local storage in KubeVirt: https://github.com/kubevirt/kubevirt/pull/10305