How to create Blank Raw Image User Guide¶
The purpose of this document is to show how to create a data volume containing a new blank raw image.
Prerequesites¶
You have a Kubernetes cluster up and running with CDI installed and at least one PersistentVolume is available or can be created dynamically.
Create Blank Raw Image with DataVolume manifest¶
Create the following DataVolume manifest:
apiVersion: cdi.kubevirt.io/v1beta1
kind: DataVolume
metadata:
name: blank-image-datavolume
spec:
source:
blank: {}
pvc:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
Deploy the DataVolume manifest:
An importer pod will be spawned and the new image will be created on your PV.