From 96cc1ab9c6053a487e04da2c662baaaa940d1933 Mon Sep 17 00:00:00 2001 From: Robert Rapp Date: Wed, 14 Oct 2026 19:10:06 +0200 Subject: [PATCH] infra: feste Adresse 192.168.100.188 statt DHCP, DNS im LXC gesetzt Co-Authored-By: Claude Fable 5.1 --- platform/proxmox/tofu/main.tf | 4 ++++ sites/knaster/proxmox.yaml | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/platform/proxmox/tofu/main.tf b/platform/proxmox/tofu/main.tf index ec3bed9..5661ed8 100644 --- a/platform/proxmox/tofu/main.tf +++ b/platform/proxmox/tofu/main.tf @@ -157,6 +157,10 @@ resource "proxmox_virtual_environment_container" "infra" { gateway = each.value.ip == "dhcp" ? null : local.site.cluster.gateway } } + dns { + domain = "buero-godel.local" + servers = [local.site.cluster.dns] + } user_account { keys = [local.ssh_key] } diff --git a/sites/knaster/proxmox.yaml b/sites/knaster/proxmox.yaml index 7e46041..104ce65 100644 --- a/sites/knaster/proxmox.yaml +++ b/sites/knaster/proxmox.yaml @@ -28,7 +28,7 @@ vms: # eine GPU-VM pro Knoten mit allen Karten des Knot gpu-pve52: {node: pve52, vmid: 252, cores: 4, memory_mb: 12288, disk_gb: 40, models_disk_gb: 60, storage: local-lvm, gpus: [gpu-m4000-pve52], ip: dhcp, driver_generation: legacy} containers: # Infrastruktur als LXC (ADR-0001), HA + ZFS-Replikation (ADR-0002) - infra: {node: pve44, vmid: 101, cores: 4, memory_mb: 8192, disk_gb: 60, storage: tank, ip: dhcp, ha: true, replicate_to: [pve52, pve48]} + infra: {node: pve44, vmid: 101, cores: 4, memory_mb: 8192, disk_gb: 60, storage: tank, ip: 192.168.100.188/24, ha: true, replicate_to: [pve52, pve48]} replication_schedule: "*/15" @@ -41,12 +41,12 @@ firewall: enable: true # IPSET management: nur diese Quellen (plus alle Knoten) erreichen 8006, 22, 5900-5999, 3128 und # 60000-60050 der Knoten. Corosync zwischen den Knoten erlaubt Proxmox von selbst. - # Achtung: Laptop, ops und infra laufen noch per DHCP (D5). Wechselt eine Adresse, sperrt die - # Firewall diese Quelle aus. Rückweg: ssh über eine noch zugelassene Adresse (ops) oder Konsole. + # Achtung: Der Laptop läuft per DHCP (D5). ops und infra haben seit 14.10. feste Adressen (noch ohne + # Reservierung am DC). Wechselt die Laptop-Adresse, sperrt die Firewall diese Quelle aus. Rückweg: ssh über eine noch zugelassene Adresse (ops) oder Konsole. management: - {ip: 192.168.100.151, comment: Admin-Laptop WLAN per DHCP} - {ip: 192.168.100.181, comment: Admin-Laptop USB-LAN im Dock per DHCP} - {ip: 192.168.100.29, comment: appsrv08 LiteLLM mit PSE und n8n-Bruecke} - - {ip: 192.168.100.173, comment: ops CT 100 Ansible und tofu per DHCP} - - {ip: 192.168.100.188, comment: infra CT 101 pve-exporter per DHCP} + - {ip: 192.168.100.173, comment: ops CT 100 Ansible und tofu statisch} + - {ip: 192.168.100.188, comment: infra CT 101 pve-exporter statisch} ping_from: 192.168.100.0/24