# lab-cluster.yaml - 3-node IncusOS cluster for Hetzner
#
# Sized for a Hetzner dedicated server (32+ cores, 128+ GiB RAM).
# More resources per VM than the beelink target: 8 cores, 16 GiB RAM, 100 GiB disk.
#
# Network: 10.10.0.0/24 on vmbr1 (private bridge, NAT to internet).
# VMs get static IPs in the 10.10.0.101-103 range.
#
# Usage:
#   bin/incusos-proxmox --proxmox envs/hetzner/proxmox.yaml \
#                       envs/hetzner/lab-cluster.yaml
#
# Connection settings from proxmox.yaml in this directory.

defaults:
  cores: 8
  memory: 16384
  disk: 100
  start_vmid: 900

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

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

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