Working PVC for disks reconciliation.

This commit is contained in:
Michael Lipp 2023-07-25 12:26:42 +02:00
parent f1b1b2c059
commit d1410183cb
8 changed files with 625 additions and 30 deletions

View file

@ -1,6 +1,7 @@
apiVersion: "vmoperator.jdrupes.org/v1"
kind: VirtualMachine
metadata:
namespace: qemu-vms
name: test-vm
spec:
image:
@ -18,7 +19,13 @@ spec:
- tap:
mac: "00:16:3e:33:59:10"
disks:
- hostDevice: /dev/vgmain/test-vm
- volumeClaimTemplate:
spec:
resources:
requests:
storage: 40Gi
# - hostDevice: /dev/vgmain/test-vm
displays:
- spice:
port: 5910