apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  name: ubuntu
spec:
  running: true
  template:
    metadata:
      labels:
        kubevirt.io/size: small
        kubevirt.io/domain: ubuntu
    spec:
      domain:
        devices:
          disks:
            - name: iso
              disk:
                bus: sata
            - name: host
              disk:
                bus: virtio
        resources:
          requests:
            memory: 4096M
      volumes:
        - name: iso
          hostDisk:
            path: "/srv/lib/gparted-live-1.4.0-1-amd64.iso"
            type: DiskOrCreate
        - name: host
          hostDisk:
            path: "/var/lib/vm/ubuntu.img"
            type: DiskOrCreate
            capacity: 16Gi
