apiVersion: "vmoperator.jdrupes.org/v1"
kind: VirtualMachine
metadata:
  namespace: vmop-demo
  name: test-vm
spec:

  image:
    # Defaults:
    # repository: ghcr.io
    # path: mnlipp/org.jdrupes.vmoperator.runner.qemu-arch
    # version: latest
    pullPolicy: Always

  vm:
    maximumCpus: 4
    currentCpus: 3
    maximumRam: "8 GiB"
    currentRam: "4 GiB"
  
    networks:
    - tap: {}
    
    disks:
    - volumeClaimTemplate:
        metadata:
          name: test-vm-system
        spec:
          storageClassName: ""
          selector:
            matchLabels:
              app.kubernetes.io/name: vmrunner
              app.kubernetes.io/instance: test-vm
              vmrunner.jdrupes.org/disk: system
          resources:
            requests:
              storage: 40Gi

    display:
      spice:
        port: 5910
