Initial commit: Infrastructure documentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-03 13:46:47 +02:00
commit bbe86c55d9
9 changed files with 568 additions and 0 deletions

43
README.md Normal file
View File

@@ -0,0 +1,43 @@
# ExpertFab Infrastruktur Dokumentation
Zentrale Dokumentation der ExpertFab IT-Infrastruktur.
## Inhalt
| Dokument | Beschreibung |
|---|---|
| [docs/infrastructure.md](docs/infrastructure.md) | VM-Inventar, Proxmox-Hosts, Netzwerk |
| [docs/access.md](docs/access.md) | SSH-Zugänge, API-Token, Credentials |
| [docs/k3s.md](docs/k3s.md) | K3s-Cluster, Namespaces, Ingresses, ERPNext |
| [docs/storage.md](docs/storage.md) | Longhorn Storage, PVCs, StorageClasses |
## Schaubilder
| Datei | Beschreibung |
|---|---|
| [diagrams/k8s_cluster.png](diagrams/k8s_cluster.png) | Gesamte Infrastruktur (Proxmox + K3s) |
| [diagrams/storage_architecture.png](diagrams/storage_architecture.png) | Longhorn Storage Architektur |
Schaubilder neu generieren:
```bash
cd diagrams
python3 k8s_cluster_diagram.py
python3 storage_diagram.py
```
## Schnellzugriff
```bash
# Proxmox
ssh -i ~/.ssh/hetzner_key root@10.42.70.1
# K3s Control Plane
ssh -i ~/.ssh/hetzner_key sd@10.42.71.50
# kubectl (am Control Plane)
sudo KUBECONFIG=/etc/rancher/k3s/k3s.yaml kubectl get pods -A
# kubectl via Proxmox (ohne sudo-Passwort)
ssh -i ~/.ssh/hetzner_key root@10.42.70.1 \
"qm guest exec 119 -- bash -c 'KUBECONFIG=/etc/rancher/k3s/k3s.yaml kubectl get pods -A'"
```