apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  annotations:
    kubemacpool.io/transaction-timestamp: "2023-06-20T14:11:17.393953867Z"
    kubevirt.io/latest-observed-api-version: v1
    kubevirt.io/storage-observed-api-version: v1alpha3
    vm.kubevirt.io/validations: |
      [
        {
          "name": "minimal-required-memory",
          "path": "jsonpath::.spec.domain.resources.requests.memory",
          "rule": "integer",
          "message": "This VM requires more memory.",
          "min": 1610612736
        }
      ]
  creationTimestamp: "2023-06-20T14:06:57Z"
  generation: 4
  labels:
    app: testvm-default
    vm.kubevirt.io/template: rhel9-server-small
    vm.kubevirt.io/template.namespace: openshift
    vm.kubevirt.io/template.revision: "1"
    vm.kubevirt.io/template.version: v0.24.2
  name: testvm-default
  namespace: default
  resourceVersion: "13479328"
  uid: f9689faa-0c4f-4235-b46f-884079630783
spec:
  dataVolumeTemplates:
  - metadata:
      creationTimestamp: null
      name: testvm-default
      namespace: default
    spec:
      preallocation: false
      source:
        http:
          url: https://access.cdn.redhat.com/content/origin/files/sha256/92/92862e085e4d5690cfa57de7155aa29bfdf21feec3d46dd4b61ca63293312af7/rhel-baseos-9.0-x86_64-kvm.qcow2?user=015342d8aa4aa5d27c65fdfc116424c1&_auth_=1687284376_de1dce23515f6ef2ab4f513cfb3115a3
      storage:
        resources:
          requests:
            storage: 30Gi
        storageClassName: ocs-storagecluster-ceph-rbd
  running: false
  template:
    metadata:
      annotations:
        vm.kubevirt.io/flavor: small
        vm.kubevirt.io/os: rhel9
        vm.kubevirt.io/workload: server
      creationTimestamp: null
      labels:
        kubevirt.io/domain: testvm-default
        kubevirt.io/size: small
    spec:
      domain:
        cpu:
          cores: 1
          sockets: 1
          threads: 1
        devices:
          disks:
          - bootOrder: 1
            disk:
              bus: virtio
            name: rootdisk
          - bootOrder: 2
            disk:
              bus: virtio
            name: cloudinitdisk
          interfaces:
          - macAddress: 02:8d:43:00:00:06
            masquerade: {}
            model: virtio
            name: default
          networkInterfaceMultiqueue: true
          rng: {}
        features:
          acpi: {}
          smm:
            enabled: true
        firmware:
          bootloader:
            efi: {}
        machine:
          type: pc-q35-rhel8.6.0
        resources:
          requests:
            memory: 2Gi
      evictionStrategy: LiveMigrate
      networks:
      - name: default
        pod: {}
      terminationGracePeriodSeconds: 180
      volumes:
      - dataVolume:
          name: testvm-default
        name: rootdisk
      - cloudInitNoCloud:
          userData: |
            #cloud-config
            user: cloud-user
            password: RedHat1!
            chpasswd:
              expire: false
        name: cloudinitdisk
status:
  conditions:
  - lastProbeTime: "2023-06-20T14:11:23Z"
    lastTransitionTime: "2023-06-20T14:11:23Z"
    message: VMI does not exist
    reason: VMINotExists
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: null
    status: "True"
    type: LiveMigratable
  printableStatus: Stopped
  volumeSnapshotStatuses:
  - enabled: true
    name: rootdisk
  - enabled: false
    name: cloudinitdisk
    reason: Snapshot is not supported for this volumeSource type [cloudinitdisk]
