Cluster-Härtung 2026-10-10/12: pg_dump-Backup, persistente Daten, TRUST_PROXY, Traefik-Ingress #11

Closed
opened 2026-10-16 05:58:01 +00:00 by Nick.Rosenloecher · 0 comments
Owner

Ziel

ApiCore im RKE2-Cluster absichern, bevor das Plattform-Rückgrat kommt: Daten überleben einen Pod-Neustart, die Datenbank wird gesichert, Client-IPs stimmen hinter Cloudflare.

Umgesetzt

  • Postgres auf 18.6-alpine gepinnt, CPU-/RAM-Requests auf 0 (910ba804, cde81784)
  • Täglicher pg_dump als CronJob apicore-db-backup (2359970f); läuft live (02:05 Uhr, PVC apicore-db-backup)
  • Dokumente und App-Backups auf PVC apicore-data (RWX, smb-app), Images gepinnt, gehärtet (04f9363e); live gemountet auf /data
  • TRUST_PROXY als Netzliste (Pod-Netz und Cloudflare), Rate-Limit je IPv6-/64 (570f4f94, d7f0d2c1, 886b4e75, d9670dcd)
  • Ingress-Vorlagen auf Traefik mit Middleware cloudflare-only (e53e4fb1, f5b19642)

Grundlage

ARCHITECTURE.md Abschnitte 7 und 8, Memory rke2-security-audit-2026-10-12, rke2-cluster-maintenance.

Status

Code: ja · Geprüft: ja · Gemergt: ja · Produktiv: ja (Backend-Image sha-f5b1964, CronJob apicore-db-backup, PVC apicore-data)
Stand: 2026-10-16 (Quelle: git origin/main b48fb157, Cluster-Abfrage 2026-10-16, Session-Status vs-code-ff, Memory)

## Ziel ApiCore im RKE2-Cluster absichern, bevor das Plattform-Rückgrat kommt: Daten überleben einen Pod-Neustart, die Datenbank wird gesichert, Client-IPs stimmen hinter Cloudflare. ## Umgesetzt - [x] Postgres auf `18.6-alpine` gepinnt, CPU-/RAM-Requests auf 0 (910ba804, cde81784) - [x] Täglicher `pg_dump` als CronJob `apicore-db-backup` (2359970f); läuft live (02:05 Uhr, PVC `apicore-db-backup`) - [x] Dokumente und App-Backups auf PVC `apicore-data` (RWX, `smb-app`), Images gepinnt, gehärtet (04f9363e); live gemountet auf `/data` - [x] `TRUST_PROXY` als Netzliste (Pod-Netz und Cloudflare), Rate-Limit je IPv6-/64 (570f4f94, d7f0d2c1, 886b4e75, d9670dcd) - [x] Ingress-Vorlagen auf Traefik mit Middleware `cloudflare-only` (e53e4fb1, f5b19642) ## Grundlage `ARCHITECTURE.md` Abschnitte 7 und 8, Memory `rke2-security-audit-2026-10-12`, `rke2-cluster-maintenance`. ## Status Code: ja · Geprüft: ja · Gemergt: ja · Produktiv: ja (Backend-Image sha-f5b1964, CronJob apicore-db-backup, PVC apicore-data) Stand: 2026-10-16 (Quelle: git origin/main b48fb157, Cluster-Abfrage 2026-10-16, Session-Status vs-code-ff, Memory)
Nick.Rosenloecher added the art/technikprio/hochstatus/erledigt labels 2026-10-16 05:58:02 +00:00
Sign in to join this conversation.