fix(terraform): Use correct Proxmox node names
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 20s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 42s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 42s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 41s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 20s
CD - Deploy Infrastructure / Deploy on pve1 (push) Failing after 42s
CD - Deploy Infrastructure / Deploy on pve2 (push) Failing after 42s
CD - Deploy Infrastructure / Deploy on pve3 (push) Failing after 41s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Has been skipped
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
Update target_node values to match actual cluster node names: - pve1 → acemagician (192.168.100.10) - pve2 → elitedesk (192.168.100.20) - pve3 → thinkpad (192.168.100.30) This fixes the "no such cluster node" error during deployment.
This commit is contained in:
parent
e97e35ad0b
commit
80d434069b
3 changed files with 6 additions and 6 deletions
|
|
@ -20,10 +20,10 @@ provider "proxmox" {
|
||||||
pm_tls_insecure = var.proxmox_tls_insecure
|
pm_tls_insecure = var.proxmox_tls_insecure
|
||||||
}
|
}
|
||||||
|
|
||||||
# K3s Server VM on pve1
|
# K3s Server VM on acemagician
|
||||||
resource "proxmox_vm_qemu" "k3s_server_1" {
|
resource "proxmox_vm_qemu" "k3s_server_1" {
|
||||||
name = "k3s-server-1"
|
name = "k3s-server-1"
|
||||||
target_node = "pve1"
|
target_node = "acemagician"
|
||||||
clone = var.ubuntu_template
|
clone = var.ubuntu_template
|
||||||
|
|
||||||
cpu {
|
cpu {
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,10 @@ provider "proxmox" {
|
||||||
pm_tls_insecure = var.proxmox_tls_insecure
|
pm_tls_insecure = var.proxmox_tls_insecure
|
||||||
}
|
}
|
||||||
|
|
||||||
# K3s Server VM on pve2
|
# K3s Server VM on elitedesk
|
||||||
resource "proxmox_vm_qemu" "k3s_server_2" {
|
resource "proxmox_vm_qemu" "k3s_server_2" {
|
||||||
name = "k3s-server-2"
|
name = "k3s-server-2"
|
||||||
target_node = "pve2"
|
target_node = "elitedesk"
|
||||||
clone = var.ubuntu_template
|
clone = var.ubuntu_template
|
||||||
|
|
||||||
cpu {
|
cpu {
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,10 @@ provider "proxmox" {
|
||||||
pm_tls_insecure = var.proxmox_tls_insecure
|
pm_tls_insecure = var.proxmox_tls_insecure
|
||||||
}
|
}
|
||||||
|
|
||||||
# etcd Witness VM on pve3
|
# etcd Witness VM on thinkpad
|
||||||
resource "proxmox_vm_qemu" "etcd_witness" {
|
resource "proxmox_vm_qemu" "etcd_witness" {
|
||||||
name = "etcd-witness"
|
name = "etcd-witness"
|
||||||
target_node = "pve3"
|
target_node = "thinkpad"
|
||||||
clone = var.ubuntu_template
|
clone = var.ubuntu_template
|
||||||
|
|
||||||
cpu {
|
cpu {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue