fix: stabilize kubeadm bootstrap and reduce Proxmox plan latency
Some checks failed
Terraform Plan / Terraform Plan (push) Has been cancelled
Some checks failed
Terraform Plan / Terraform Plan (push) Has been cancelled
Move kubeadm reset ahead of kube-vip manifest generation, use super-admin.conf during bootstrap for kube-vip, and restore admin.conf after init. Also switch nixos-rebuild to --sudo and make QEMU guest agent optional so Terraform plan can skip slow guest-agent refreshes when it is not installed.
This commit is contained in:
@@ -24,7 +24,7 @@ resource "proxmox_vm_qemu" "control_planes" {
|
||||
clone = var.clone_template
|
||||
full_clone = true
|
||||
os_type = "cloud-init"
|
||||
agent = 1
|
||||
agent = var.qemu_agent_enabled ? 1 : 0
|
||||
automatic_reboot = true
|
||||
|
||||
cpu {
|
||||
@@ -79,7 +79,7 @@ resource "proxmox_vm_qemu" "workers" {
|
||||
clone = var.clone_template
|
||||
full_clone = true
|
||||
os_type = "cloud-init"
|
||||
agent = 1
|
||||
agent = var.qemu_agent_enabled ? 1 : 0
|
||||
automatic_reboot = true
|
||||
|
||||
cpu {
|
||||
|
||||
Reference in New Issue
Block a user