adding 3 masters

This commit is contained in:
Matt Reeves 2024-06-15 10:23:01 -04:00
parent 3d686d3bb3
commit 98fe007436
2 changed files with 11 additions and 11 deletions

View file

@ -1,10 +1,10 @@
resource "proxmox_virtual_environment_vm" "K3s-Worker2" { resource "proxmox_virtual_environment_vm" "K3s-Master2" {
# VM General Settings # VM General Settings
node_name = "prox" node_name = "pve2"
vm_id = 320 vm_id = 321
name = "K3s-Worker2" name = "K3s-Master2"
description = "Kubernetes worker" description = "Kubernetes Master"
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"] tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
agent { agent {
@ -12,7 +12,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Worker2" {
} }
clone { clone {
vm_id = 8000 vm_id = 8005
} }
# VM CPU Settings # VM CPU Settings
@ -34,7 +34,7 @@ resource "proxmox_virtual_environment_vm" "K3s-Worker2" {
# VM Disk Settings # VM Disk Settings
disk { disk {
datastore_id = "Fast2Tb" datastore_id = "local-lvm"
size = 100 size = 100
interface = "scsi0" interface = "scsi0"
} }

View file

@ -1,10 +1,10 @@
resource "proxmox_virtual_environment_vm" "K3s-Worker1" { resource "proxmox_virtual_environment_vm" "K3s-Master3" {
# VM General Settings # VM General Settings
node_name = "prox" node_name = "prox"
vm_id = 310 vm_id = 330
name = "K3s-Worker1" name = "K3s-Master3"
description = "Kubernetes worker" description = "Kubernetes master"
tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"] tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"]
agent { agent {