infra: Compose-Stack mit Monitoring, ohne LiteLLM (Task 5.2)
ci / test (push) Successful in 28s

- deploy/compose/infra: Dienst litellm entfernt (D4), Router auf LITELLM_BASE_URL
  (appsrv08, Port noch offen), alle Images gepinnt, Grafana und pve-exporter
  ohne Profile, node-exporter für den LXC, Zustand über KNASTER_STATE_DIR
- Prometheus: GPU-VMs per file_sd (node, gpu), Proxmox-Knoten per IP, infra-node
- Grafana: Datasource und Dashboards provisioniert (grafana.com 10347, 1860,
  14574 sowie knaster-Übersicht)
- Alertmanager: n8n-Receiver nur vorbereitet (auskommentiert)
- Ansible: Rollen infra-stack und gpu-exporters, Playbooks monitoring.yml und
  monitoring-targets.yml, Skript monitoring-targets.py (tofu output → file_sd)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Robert Rapp
2026-10-12 20:22:26 +02:00
co-authored by Claude Opus 5.5
parent fd48fd1c7f
commit bf7c137adf
22 changed files with 23101 additions and 66 deletions
@@ -0,0 +1,10 @@
# file_sd-Ziele der GPU-VMs auffrischen, wenn sich DHCP-Adressen geändert haben. Auf ops:
# cd /root/cluster-knaster/platform/proxmox/tofu && . /root/.config/knaster/tofu.env && bash ../scripts/refresh-vm-access.sh
# cd ../ansible && ansible-playbook playbooks/monitoring-targets.yml
- name: Infra-LXC – file_sd-Ziele
hosts: infra
tasks:
- name: Ziele erzeugen und kopieren
ansible.builtin.include_role:
name: infra-stack
tasks_from: targets
@@ -0,0 +1,10 @@
# Nur Monitoring (Task 5.2), ohne Treiber-/Docker-Rollen der GPU-VMs (kein Docker-Neustart, kein Reboot).
# Aufruf auf ops (Verzeichnis platform/proxmox/ansible), vorher Adressen auffrischen (refresh-vm-access.sh):
# ansible-playbook playbooks/monitoring.yml
- name: GPU-VMs – Exporter (node_exporter, nvidia_gpu_exporter)
hosts: gpu_vms
roles: [gpu-exporters]
- name: Infra-LXC – Compose-Stack mit Monitoring
hosts: infra
roles: [infra-stack]
+4 -3
View File
@@ -19,8 +19,9 @@
eth0:
dhcp-identifier: mac
mode: "0600"
roles: [docker-host, gpu-node]
roles: [docker-host, gpu-node, gpu-exporters]
- name: Infra-LXC (Docker)
# Nur Monitoring ohne Treiber/Neustart der GPU-VMs: playbooks/monitoring.yml
- name: Infra-LXC (Docker, Compose-Stack mit Monitoring)
hosts: infra
roles: [docker-host]
roles: [docker-host, infra-stack]