Add example configurations.
This commit is contained in:
parent
9e83712c9b
commit
8acd98d703
6 changed files with 107 additions and 21 deletions
40
example/rook-ceph/test-vm.yaml
Normal file
40
example/rook-ceph/test-vm.yaml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
apiVersion: "vmoperator.jdrupes.org/v1"
|
||||
kind: VirtualMachine
|
||||
metadata:
|
||||
namespace: vmop-demo
|
||||
name: test-vm
|
||||
spec:
|
||||
|
||||
image:
|
||||
# Defaults:
|
||||
# repository: ghcr.io
|
||||
# path: mnlipp/org.jdrupes.vmoperator.runner.qemu-arch
|
||||
# version: latest
|
||||
pullPolicy: Always
|
||||
|
||||
vm:
|
||||
maximumCpus: 4
|
||||
currentCpus: 2
|
||||
maximumRam: "8 GiB"
|
||||
currentRam: "4 GiB"
|
||||
|
||||
networks:
|
||||
- user: {}
|
||||
|
||||
disks:
|
||||
- volumeClaimTemplate:
|
||||
metadata:
|
||||
name: test-vm-system
|
||||
spec:
|
||||
storageClassName: rook-ceph-block
|
||||
resources:
|
||||
requests:
|
||||
storage: 40Gi
|
||||
- cdrom:
|
||||
# image: ""
|
||||
image: https://download.fedoraproject.org/pub/fedora/linux/releases/38/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-38-1.6.iso
|
||||
# image: "Fedora-Workstation-Live-x86_64-38-1.6.iso"
|
||||
|
||||
display:
|
||||
spice:
|
||||
port: 5910
|
||||
Loading…
Add table
Add a link
Reference in a new issue