Files
cluster-autoscaler-with-capi/configs/capi/clusterctl.yaml.example
T
kacerrandClaude Opus 5.5 6ef55778ff lab1 workers on both PVE nodes: per-node template + MD, balanced CA
PVE is now the 2-node cluster homelab (pv1-1 + pv1-2), no shared storage:
- template 101 copied to pv1-2 as 9101; MDs lab1-workers-pv1-1 (max 6) and
  lab1-workers-pv1-2 (max 12), PMTs pinned with allowedNodes; pool .31-.50;
  lab1-workers renamed for symmetry (decision #18, #7 superseded)
- CA: balancing-label node.cluster.x-k8s.io/pool (+ pool label, capacity labels
  with os/arch, maxPods on the MDs), scan-interval 1m, v 2, default QPS (#19).
  Scale test: 16 pods -> 4 + 4 across both nodes.
- runbook, image-builder copy procedure, fixes tables, future task to report
  three CA clusterapi bugs upstream, lab facts, changelog, execution log

Plan: docs/plans/2026-09-29-2315-pv1-2-workers.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 11:07:17 +02:00

26 lines
1.1 KiB
Plaintext

# copy to ~/.cluster-api/clusterctl.yaml — never commit the real file
# Only used by `clusterctl generate cluster`. No Proxmox credentials here: CAPMOX is installed by
# cluster-api-operator and gets them from ansible/secrets.yml (Secret capmox-system/capmox-variables).
## workload defaults
PROXMOX_SOURCENODE: "pv1-1" # node holding the template
TEMPLATE_VMID: "<vmid of ubuntu-2404-kube-v1.35.9>" # 101 on pv1-1 (copy 9101 on pv1-2)
ALLOWED_NODES: "[pv1-1]" # local-lvm: only the template's node. More PVE nodes = one
# worker MD + PMT per node by hand (lab1.yaml, decision #18)
VM_SSH_KEYS: "ssh-ed25519 AAAA..."
## network (VLAN 4 on vmbr0 — add `vlan: 4` to the network device in ProxmoxMachineTemplates)
CONTROL_PLANE_ENDPOINT_IP: "<free IP in VLAN 4>"
NODE_IP_RANGES: "[<first>-<last>]"
GATEWAY: "<gw>"
IP_PREFIX: "24"
DNS_SERVERS: "[<dns>]"
BRIDGE: "vmbr0"
## sizing defaults (workers overridden in lab1.yaml)
BOOT_VOLUME_DEVICE: "scsi0"
BOOT_VOLUME_SIZE: "40"
NUM_SOCKETS: "1"
NUM_CORES: "2"
MEMORY_MIB: "4096"