apiVersion: v1
kind: PersistentVolume
metadata:
  name: test-vm-system
  labels:
    app.kubernetes.io/name: vmrunner
    app.kubernetes.io/instance: test-vm
    vmrunner.jdrupes.org/disk: system
spec:
  capacity:
    storage: 40Gi
  volumeMode: Block
  accessModes:
  - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  claimRef:
    name: system-disk-test-vm-0
    namespace: qemu-vms
  local:
    path: /dev/vgmain/test-vm
  nodeAffinity:
    required:
      nodeSelectorTerms:
      - matchExpressions:
        - key: kubernetes.io/hostname
          operator: In
          values:
          - olymp
