apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: rhel-9-minimal
spec:
dataVolumeTemplates:
- metadata:
name: rhel-9-minimal-volume
spec:
sourceRef:
kind: DataSource
name: rhel9 (1)
namespace: openshift-virtualization-os-images (2)
storage: {}
instancetype:
name: u1.medium (3)
preference:
name: rhel.9 (4)
running: true
template:
spec:
domain:
devices: {}
volumes:
- dataVolume:
name: rhel-9-minimal-volume
name: rootdisk