diff --git a/k3s-worker2.tf b/k3s-master2.tf similarity index 81% rename from k3s-worker2.tf rename to k3s-master2.tf index e2666f5..f108bb8 100644 --- a/k3s-worker2.tf +++ b/k3s-master2.tf @@ -1,10 +1,10 @@ -resource "proxmox_virtual_environment_vm" "K3s-Worker2" { +resource "proxmox_virtual_environment_vm" "K3s-Master2" { # VM General Settings - node_name = "prox" - vm_id = 320 - name = "K3s-Worker2" - description = "Kubernetes worker" + node_name = "pve2" + vm_id = 321 + name = "K3s-Master2" + description = "Kubernetes Master" tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"] agent { @@ -12,7 +12,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Worker2" { } clone { - vm_id = 8000 + vm_id = 8005 } # VM CPU Settings @@ -34,7 +34,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Worker2" { # VM Disk Settings disk { - datastore_id = "Fast2Tb" + datastore_id = "local-lvm" size = 100 interface = "scsi0" } diff --git a/k3s-worker1.tf b/k3s-master3.tf similarity index 87% rename from k3s-worker1.tf rename to k3s-master3.tf index e247acd..8e12152 100644 --- a/k3s-worker1.tf +++ b/k3s-master3.tf @@ -1,10 +1,10 @@ -resource "proxmox_virtual_environment_vm" "K3s-Worker1" { +resource "proxmox_virtual_environment_vm" "K3s-Master3" { # VM General Settings node_name = "prox" - vm_id = 310 - name = "K3s-Worker1" - description = "Kubernetes worker" + vm_id = 330 + name = "K3s-Master3" + description = "Kubernetes master" tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"] agent {