Files
expertfab-infra/README.md
2026-05-03 13:46:47 +02:00

44 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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'"
```