Skip to content

Architecture

flowchart LR
  subgraph GH[GitHub jwklijnsma/infra]
    WF[workflows: ci / deploy / inventory-sync / docs]
  end
  subgraph LAN[10.0.3.0/24]
    R[gh-runner LXC<br/>Ansible + nginx docs]
    subgraph PVE[Proxmox endpoints]
      N1[node01<br/>RTX 3080]
      N2[node02<br/>2x V620]
      HC[home-cluster<br/>node04-11, Ceph]
      N8[node08<br/>GPS chrony, PBS]
    end
    P[prometheus<br/>+ blackbox, adguard-, exportarr]
    PX[pve-exporter]
    AM[alertmanager]
    G[grafana]
    NB[netbox]
    T[traefik-stack<br/>Traefik Manager]
    AG[adguard01/02]
  end
  WF -- jobs --> R
  R -- API + ssh/pct exec --> PVE
  R -- config --> P & AM & G & PX & T
  R -- API --> NB & AG
  P -- scrape :9100/:9835/:9123 --> PVE
  P -- /pve?module=... --> PX --> PVE
  P --> AM -- Telegram/e-mail --> U((you))
  G --> P

Proxmox endpoints

Endpoint API Nodes Notes
node01 10.0.3.20 node01 AMD EPYC 7282, 128 GB, RTX 3080 20 GB → ollama-nvidia-20gb
node02 10.0.3.21 node02 AMD EPYC 7713P, 256 GB, 2× Radeon Pro V620 → ollama-amd-64gb, OpenShift dev VMs
home-cluster 10.0.3.40 (node04) node04, 05, 06, 07, 09, 10, 11 Ryzen 4650GE / R2514 mini PCs, Ceph RBD data
node08 10.0.3.43 node08 i5-10500T: chrony (GPS), technitium, PBS, NUT, apt-cacher-ng

LXCs are managed without SSH inside the container: Ansible connects to the owning node as root and runs pct exec (community.proxmox.proxmox_pct_remote). VMs are only touched when you opt them in (managed: true in host_vars). OpenShift VMs are monitored via the PVE exporter only.

Data flow per new LXC

sequenceDiagram
  participant You
  participant PVE as Proxmox
  participant CI as inventory-sync (nightly)
  You->>PVE: run a community-scripts installer
  CI->>PVE: API: discover guest, IP, tags
  CI->>CI: name -> app (catalog)
  CI->>PVE: pct exec: node_exporter, facts, versions
  CI->>CI: prometheus file_sd, probes, DNS, NetBox, docs