feat(k8s-wheatley): Prepare for GPU nodes

This commit is contained in:
Peter 2026-01-03 13:05:56 +01:00
parent fbbfee32a4
commit c6d4143df2
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
7 changed files with 25 additions and 4 deletions

View file

@ -61,6 +61,16 @@ resource "proxmox_virtual_environment_vm" "talos-node" {
}
}
dynamic "hostpci" {
for_each = var.node.gpu == true ? [1] : []
content {
device = "hostpci0"
mapping = "A380_GPU"
pcie = true
rombar = true
}
}
initialization {
datastore_id = var.node.storagepool
ip_config {