You can migrate virtual machines (VMs) within a single cluster from one storage class to a different storage class. By using the OKD web console, you can perform the migration for the VMs in bulk.
By using the OKD web console, you can migrate single-cluster VMs in bulk from one storage class to another storage class.
The VMs you select for each bulk migration must be in the same namespace.
The Migration Toolkit for Containers (MTC) must be installed.
From the OKD web console, navigate to Virtualization → VirtualMachines.
From the list of VMs in the same namespace, select each VM that you want to move from its current storage class.
Select Actions → Migrate storage.
Alternatively, you can access this option by opening the Options menu for a selected VM, and then selecting Migration → Storage.
The Migrate VirtualMachine storage page opens.
To review the VMs that you want to migrate, click the link that identifies the number of VMs and volumes. Click View more to see the full list.
Select either the entire VM or only selected volumes for storage class migration. If you choose to migrate only selected volumes, the page expands to allow you to make specific selections.
You can also click VirtualMachine name to select all VMs.
Click Next.
From the list of available storage classes, select the destination storage class for the migration.
Click Next.
Review the details, and click Migrate VirtualMachine storage to start the migration.
Optional: Click Stop to interrupt the migration, or click View storage migrations to see the status of current and previous migrations.