Some checks failed
Terraform Plan / Terraform Plan (push) Failing after 9s
Provision 3 thin control planes and 3 workers with role-specific sizing and VMID ranges (701/711), generate per-node cloud-init snippets with SSH key injection, and add NixOS kubeadm host/module scaffolding for cp-1..3 and wk-1..3.
20 lines
525 B
HCL
20 lines
525 B
HCL
target_node = "flex"
|
|
clone_template = "nixos-template"
|
|
bridge = "vmbr0"
|
|
storage = "Flash"
|
|
pm_api_url = "https://100.105.0.115:8006/api2/json"
|
|
pm_api_token_id = "terraform-prov@pve!mytoken"
|
|
|
|
control_plane_count = 3
|
|
worker_count = 3
|
|
control_plane_vmid_start = 701
|
|
worker_vmid_start = 711
|
|
|
|
control_plane_cores = 1
|
|
control_plane_memory_mb = 4096
|
|
control_plane_disk_size = "40G"
|
|
|
|
worker_cores = [4, 4, 3]
|
|
worker_memory_mb = [12288, 12288, 12288]
|
|
worker_disk_size = "60G"
|