A VM is defined by three aspects
- Size
- Guest
- Workload
A VM is defined by three aspects
kind: Template | |
objects: | |
- kind: VM | |
metadata: | |
name: Large Fedora Compute | |
annotations: | |
validations: > | |
spec.domain.guest.memory: range(3,4) | |
spec.domain.cpu.model: [host, passthrough] | |
spec.domain.devices.disks[*].bus: [virtio, sata] | |
spec.domain.devices.disks[*].bus: [virtio, sata] | |
allowEdit: > | |
spec.domain.devices.disks | |
spec.volumes | |
addresses: "" | |
labels: | |
size: large | |
os: fedora | |
workload: high-compute | |
spec: | |
domain: | |
devices: | |
disks: | |
- name: root | |
volumes: | |
- name: root | |
dataVolume: fedora # fixme |
Supporting 2 flows:
2.a Minimal template -> Bake VM with "presets" (endpoint) -> VMI
2.b Template with preset -> VM -> VMI