This commit is contained in:
2025-09-03 15:43:29 +02:00
parent ef4257bc83
commit 52564d3059

View File

@@ -143,6 +143,10 @@ resource "proxmox_virtual_environment_vm" "flatcar_template" {
description = "managed by terraform - base template for flatcar"
tags = ["flatcar","kubernetes","terraform"]
agent {
enabled = true
}
cpu {
type = "host"
cores = 1
@@ -150,7 +154,7 @@ resource "proxmox_virtual_environment_vm" "flatcar_template" {
memory {
dedicated = 2048
floating = 2048
floating = 512
}
network_device {
@@ -165,6 +169,8 @@ resource "proxmox_virtual_environment_vm" "flatcar_template" {
interface = "virtio0"
discard = "on"
size = 50
cache = "writeback"
ssd = true
}
# Cloud-Init Laufwerk hinzufügen
@@ -199,7 +205,7 @@ resource "proxmox_virtual_environment_vm" "control_plane1" {
}
memory {
dedicated = 4096
floating = 4096
floating = 1024
}
# Netzwerk
@@ -245,7 +251,7 @@ resource "proxmox_virtual_environment_vm" "control_plane2" {
}
memory {
dedicated = 3072
floating = 3072
floating = 1024
}
# Netzwerk
@@ -283,7 +289,7 @@ resource "proxmox_virtual_environment_vm" "control_plane3" {
}
memory {
dedicated = 3072
floating = 3072
floating = 1024
}
# Netzwerk
@@ -334,7 +340,7 @@ resource "proxmox_virtual_environment_vm" "worker1" {
}
memory {
dedicated = 10240
floating = 10240
floating = 1024
}
# Netzwerk
@@ -372,7 +378,7 @@ resource "proxmox_virtual_environment_vm" "worker2" {
}
memory {
dedicated = 10240
floating = 10240
floating = 1024
}
# Netzwerk
@@ -410,7 +416,7 @@ resource "proxmox_virtual_environment_vm" "worker3" {
}
memory {
dedicated = 10240
floating = 10240
floating = 1024
}
# Netzwerk