# lab-cluster.yaml - 3-node IncusOS cluster for Beelink
#
# Sized for a Beelink mini PC (typically 8-16 cores, 32-64 GiB RAM).
# Deploys 3 standalone Incus nodes that can be clustered after deployment.
#
# Usage:
#   bin/incusos-proxmox --proxmox envs/beelink/proxmox.yaml \
#                       envs/beelink/lab-cluster.yaml
#
# Connection settings from proxmox.yaml in this directory.

defaults:
  cores: 4
  memory: 4096
  disk: 50
  start_vmid: 900

vms:
  - name: incus-lab-01
    app: incus
    apply_defaults: true    # init node: needs storage pool + network
    ip: 192.168.102.101/22

  - name: incus-lab-02
    app: incus
    apply_defaults: false   # joining node: cluster join creates pool entry
    ip: 192.168.102.102/22

  - name: incus-lab-03
    app: incus
    apply_defaults: false   # joining node: cluster join creates pool entry
    ip: 192.168.102.103/22
