What is a DataVolume?
mainA DataVolume is a Custom Resource Definition (CRD) provided by CDI that acts as an abstraction on top of a standard Kubernetes PersistentVolumeClaim (PVC).
While you can use PVCs directly with CDI, using DataVolumes is the preferred method because they:
- Automate the creation and population of a PVC with data.
- Offer a stable API.
- Provide full functionality and better integration with KubeVirt.
DataVolumes allow you to declaratively define how a volume should be populated from various sources such as URLs, container registries, other PVCs, or client uploads.