VM-Operator/deploy/test-vm.yaml

32 lines
613 B
YAML
Raw Normal View History

2023-07-22 14:36:42 +02:00
apiVersion: "vmoperator.jdrupes.org/v1"
kind: VirtualMachine
metadata:
2023-07-25 12:26:42 +02:00
namespace: qemu-vms
2023-07-22 14:36:42 +02:00
name: test-vm
spec:
image:
repository: docker-registry.lan.mnl.de
path: vmoperator/org.jdrupes.vmoperator.runner.qemu-arch
pullPolicy: Always
2023-06-18 18:06:17 +02:00
2023-07-22 14:36:42 +02:00
vm:
maximumCpus: 4
currentCpus: 4
maximumRam: "8 GiB"
currentRam: "4 GiB"
2023-06-18 18:06:17 +02:00
2023-07-22 14:36:42 +02:00
networks:
- tap:
mac: "00:16:3e:33:59:10"
disks:
2023-07-25 12:26:42 +02:00
- volumeClaimTemplate:
spec:
resources:
requests:
storage: 40Gi
# - hostDevice: /dev/vgmain/test-vm
2023-07-27 13:14:04 +02:00
display:
spice:
2023-07-22 14:36:42 +02:00
port: 5910