44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
# 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'"
|
||
```
|