apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
creationTimestamp: null
labels:
kubevirt.io/vm: centos-stream-9
name: centos-stream-9
spec:
dataVolumeTemplates:
- metadata:
creationTimestamp: null
name: centos-dv
spec:
storage:
volumeMode: Block
resources:
requests:
storage: 10Gi
storageClassName: ocs-storagecluster-ceph-rbd
sourceRef:
kind: DataSource
name: centos-stream9
namespace: openshift-virtualization-os-images
status: {}
running: true
template:
metadata:
creationTimestamp: null
labels:
kubevirt.io/vm: centos-stream-9
spec:
domain:
devices:
interfaces:
- masquerade: {}
name: default
disks:
- disk:
bus: virtio
name: datavolumedisk1
machine:
type: ""
resources:
requests:
memory: 1.5Gi
terminationGracePeriodSeconds: 180
networks:
- name: default
pod: {}
volumes:
- dataVolume:
name: centos-dv
name: datavolumedisk1