incus-contrib/incusos/examples/lab-oc.yaml

51 lines
1.1 KiB
YAML

# lab-oc.yaml - Operations Center + 3-node lab
#
# Deploys 1 Operations Center instance and 3 Incus nodes.
# Uses VMID range 910+ to avoid collisions with lab-cluster.yaml (900+).
#
# Workflow:
# 1. Deploy with incusos-proxmox
# 2. Access OC web UI (import client.pfx into browser)
# 3. Create provisioning token in OC
# 4. Either redeploy nodes with OC-provisioned ISO or manually adopt
# 5. Form cluster via OC CLI or web UI
#
# Usage:
# incusos-proxmox --dry-run examples/lab-oc.yaml
# incusos-proxmox --yes examples/lab-oc.yaml
# incusos-proxmox --status examples/lab-oc.yaml
# incusos-proxmox --cleanup --deep examples/lab-oc.yaml
proxmox:
host: 192.168.1.29
method: api
api_token_id: automation@pve!deploy
storage: local-zfs
pool: IncusLab
defaults:
cores: 2
memory: 4096
disk: 50
start_vmid: 910
vms:
- name: lab-oc
app: operations-center
apply_defaults: true
- name: lab-node-01
app: incus
apply_defaults: true
cores: 4
memory: 8192
disk: 64
- name: lab-node-02
app: incus
apply_defaults: true
- name: lab-node-03
app: incus
apply_defaults: true