The implementation of this feature has now landed and will be included in the upcoming v0.59.0 release of KubeVirt.
https://github.com/kubevirt/kubevirt/pull/8480
Updated Design
There have been some small changes to the design. Notably that DataSources are now supported as a target of InferFromVolume and
the previously listed camel-case annotations are now hyphenated labels:
instancetype.kubevirt.io/default-instancetypeinstancetype.kubevirt.io/default-instancetype-kind(Defaults toVirtualMachineClusterInstancetype)instancetype.kubevirt.io/default-preferenceinstancetype.kubevirt.io/default-preference-kind(Defaults toVirtualMachineClusterPreference)
Demo
I’ve recorded a new demo below using a SSP operator development environment, the demo now covers the following:
- The creation of decorated
DataImportCronsby the SSP operator - The deployment of
kubevirt/common-instancetypesby the SSP operator - The creation of decorated
DataSourcesandPVCsby CDI - The ability for KubeVirt to infer the default instance type and preference from a
DataSourcefor aVirtualMachine