utkuozdemir / pv-migrate

CLI tool to easily migrate Kubernetes persistent volumes
Apache License 2.0
1.63k stars 82 forks source link

Support migration between PVCs in Block volumeMode #221

Open wynterwang opened 1 year ago

wynterwang commented 1 year ago

Is your feature request related to a problem? Please describe. We have many Block volumeMode PVCs (using LVM) in our cluster, and we want these PVCs to be freely migrated between nodes as well.

Describe the solution you'd like Determine whether the volumeMode of PVC is Block, if it is Block, first attach the bare device, then mount it to the specified directory, then you can continue the execution according to the original logic.

Describe alternatives you've considered Support migration between Block volumeMode PVCs. It would be nice if migration between different volumeModes of PVCs could be supported.