migrate
Description
Migrate drives and volumes from legacy DirectCSI to Volume Manager.
Syntax
directpv migrate [flags]
Parameters
Flags
Flag | Description |
---|---|
--dry-run |
See the results of the command without making any actual changes to drives or volumes. |
Global Flags
You can use the following global Volume Manager flags with kubectl directpv migrate
:
Flag | Description |
---|---|
--kubeconfig <string> |
Path to the kube.config file to use for CLI requests |
--quiet |
Suppress printing error messages |
Example
Migrate drives and volumes from legacy DirectCSI
The following command migrates any drives and volumes created under DirectCSI for management by Volume Manager instead.
kubectl directpv migrate