Working PVC for disks reconciliation.
This commit is contained in:
parent
f1b1b2c059
commit
d1410183cb
8 changed files with 625 additions and 30 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue