adding 3 masters
This commit is contained in:
parent
3d686d3bb3
commit
98fe007436
2 changed files with 11 additions and 11 deletions
|
@ -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"
|
||||
}
|
|
@ -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 {
|
Reference in a new issue