KubeVirt Storage
Supported volume sources for a VM disk:
cloudInitNoCloud
persistentVolumeClaim
dataVolume
ephemeral
containerDisk
emptyDisk
Containerized Data Importer
Containerized Data Importer (CDI) project enables Persistent Volume Claims (PVCs) to be used as disks for KubeVirt VMs by way of DataVolumes.
Use cases:
- Import a disk image from a web server or container registry to a DataVolume
- Clone an existing PVC to a DataVolume
- Upload a local disk image to a DataVolume
CDI supports the raw and qcow2 image formats which are supported by qemu.
Data Volumes
Data Volumes automate importing virtual machine disks onto PVCs during the VM's launch flow.
Sources:
- HTTP/S3/Registry source
- PVC source
- Upload Data Volumes
- Blank Data Volumes
Was this page helpful?