Implement basic reconciliation "loop".
This commit is contained in:
parent
de17d323c3
commit
50bff5d38f
10 changed files with 461 additions and 68 deletions
|
|
@ -1,19 +1,24 @@
|
|||
image:
|
||||
repository: docker-registry.lan.mnl.de
|
||||
path: vmoperator/org.jdrupes.vmoperator.runner.qemu-arch
|
||||
pullPolicy: Always
|
||||
apiVersion: "vmoperator.jdrupes.org/v1"
|
||||
kind: VirtualMachine
|
||||
metadata:
|
||||
name: test-vm
|
||||
spec:
|
||||
image:
|
||||
repository: docker-registry.lan.mnl.de
|
||||
path: vmoperator/org.jdrupes.vmoperator.runner.qemu-arch
|
||||
pullPolicy: Always
|
||||
|
||||
vm:
|
||||
maximumCpus: 4
|
||||
currentCpus: 4
|
||||
maximumMemory: "8 GiB"
|
||||
currentMemory: "4 GiB"
|
||||
spicePort: 5910
|
||||
vm:
|
||||
maximumCpus: 4
|
||||
currentCpus: 4
|
||||
maximumRam: "8 GiB"
|
||||
currentRam: "4 GiB"
|
||||
|
||||
# Currently only block devices are supported as VM disks
|
||||
disks:
|
||||
- device: /dev/vgmain/test-vm
|
||||
size: 40Gi
|
||||
networks:
|
||||
- bridge:
|
||||
mac: "00:16:3e:33:59:10"
|
||||
networks:
|
||||
- tap:
|
||||
mac: "00:16:3e:33:59:10"
|
||||
disks:
|
||||
- hostDevice: /dev/vgmain/test-vm
|
||||
displays:
|
||||
- spice:
|
||||
port: 5910
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue