Move workloads off portable onto mini (D1 prerequisite) #1537

Closed
opened 2026-08-13 23:23:09 +00:00 by ginjiruu · 0 comments
Owner

Move workloads off portable onto mini (D1 prerequisite)

Tracks moving running workloads off portable so it can serve as the fleet's head management cluster (hub architecture #1532, decision D1). Portable holds the public IP and becomes the WireGuard coordination point + single agentgateway ingress; it is currently resource-starved, so capacity must be freed before hub roles land.

Scope refined 2026-08-18: portable keeps management + networking only. All web workloads move. Full plan: plans/portable-offload-migration.md — file-based local-directory backups are the trusted restore path; Velero is a secondary offsite copy only, not a restore dependency.

What stays (do NOT migrate)

  • Management tools: forgejo, vault, harbor, kanidm
  • Networking / edge: haproxy edge (until #1527 retires it) → agentgateway, WireGuard hub, kgateway, Cilium/ClusterMesh (#1528), external-dns, kubevip, technitium, cloudflare-ddns, pinniped
  • Cluster plumbing: flux, argo-full, monitoring, VSO (#1524), cnpg, mariadb-operator, rook, snapshot-controller, cosi-driver, system-upgrade-controller, renovate-forgejo, velero (secondary only)

What moves (web workloads)

App State today Destination
nextcloud 250Gi ceph-fs + CNPG 25Gi mini
firefly 10Gi ceph-fs + CNPG 5Gi mini
tuwunel (continuwuity) + coturn + livekit ceph-block mini
teamspeak6 ceph-block mini
teamspeak (ts3) ceph-fs mini (or retire — open decision)
foundry 40Gi ceph-fs mini
image-share 5Gi ceph-fs mini
gotify small ceph-block mini
karakeep (replicas 0, already off) ceph-block standby/ (ADR-0001)
copyparty (replicas 0, already off) ceph-fs standby/ (ADR-0001)
httpbin none delete

Migration rules

  • Backup first (gate): every app gets a file-based backup to a local directory on the admin host (pg_dump for CNPG apps, tar stream for file-state apps, kanidm tarball pull) plus a one-time restore test before cutover. See the backup-harness ticket and the plan.
  • Storage remap: ceph-* → zfs-rke2-apps (mini default); data moves via the file-backup restore — ceph PVCs do not cross clusters.
  • Ingress: public hostnames unchanged; haproxy fan-out maps repointed at mini's gateway; external-dns records unchanged.
  • Git: Kustomization moves clusters/portable/ → clusters/mini/; retired apps park in standby/ (ADR-0001), httpbin deleted.
  • Cutover order: parked/off first, small next, large stateful last (nextcloud last); verify each app at its public URL before pruning the portable side.

Deliverables

  • Backup harness live for every moving app + the four kept management apps (separate ticket; plan Phase 0)
  • Restore test green per app before its cutover
  • Velero schedule fixed (stale actual-budget entry; nextcloud + firefly missing) — kept as secondary only
  • Moved apps re-homed under clusters/mini/ with storage class + ingress rewired
  • Off apps parked in standby/; ts3 decision executed; httpbin deleted
  • haproxy SNI fan-out entries cleaned up as apps leave (portable.map / mini.map)
  • Free-capacity targets met before hub roles are enabled (#1532 D1)
  • Open decisions closed: mini capacity ceiling, ts3 retirement, harbor registry backup approach, sveltos placement (plan §Open decisions)

Depends on / linked

  • #1532 (plan, D1) — prerequisite to hub enablement
  • #1527 (edge research) — haproxy retirement interacts with what stays on portable
  • #1533 (network plan) — WG hub role placement on portable
  • plans/portable-offload-migration.md — the full plan (2026-08-18)
## Move workloads off portable onto mini (D1 prerequisite) Tracks moving running workloads off portable so it can serve as the fleet's **head management cluster** (hub architecture #1532, decision D1). Portable holds the public IP and becomes the WireGuard coordination point + single agentgateway ingress; it is currently resource-starved, so capacity must be freed before hub roles land. > **Scope refined 2026-08-18:** portable keeps **management + networking only**. All web workloads move. Full plan: `plans/portable-offload-migration.md` — file-based local-directory backups are the trusted restore path; Velero is a secondary offsite copy only, not a restore dependency. ## What stays (do NOT migrate) - **Management tools**: forgejo, vault, harbor, kanidm - **Networking / edge**: haproxy edge (until #1527 retires it) → agentgateway, WireGuard hub, kgateway, Cilium/ClusterMesh (#1528), external-dns, kubevip, technitium, cloudflare-ddns, pinniped - **Cluster plumbing**: flux, argo-full, monitoring, VSO (#1524), cnpg, mariadb-operator, rook, snapshot-controller, cosi-driver, system-upgrade-controller, renovate-forgejo, velero (secondary only) ## What moves (web workloads) | App | State today | Destination | |-----|-------------|-------------| | nextcloud | 250Gi ceph-fs + CNPG 25Gi | mini | | firefly | 10Gi ceph-fs + CNPG 5Gi | mini | | tuwunel (continuwuity) + coturn + livekit | ceph-block | mini | | teamspeak6 | ceph-block | mini | | teamspeak (ts3) | ceph-fs | mini (or retire — open decision) | | foundry | 40Gi ceph-fs | mini | | image-share | 5Gi ceph-fs | mini | | gotify | small ceph-block | mini | | karakeep (replicas 0, already off) | ceph-block | `standby/` (ADR-0001) | | copyparty (replicas 0, already off) | ceph-fs | `standby/` (ADR-0001) | | httpbin | none | delete | ## Migration rules - **Backup first (gate):** every app gets a file-based backup to a local directory on the admin host (pg_dump for CNPG apps, tar stream for file-state apps, kanidm tarball pull) **plus a one-time restore test** before cutover. See the backup-harness ticket and the plan. - **Storage remap:** `ceph-*` → `zfs-rke2-apps` (mini default); data moves via the file-backup restore — ceph PVCs do not cross clusters. - **Ingress:** public hostnames unchanged; haproxy fan-out maps repointed at mini's gateway; external-dns records unchanged. - **Git:** Kustomization moves `clusters/portable/` → `clusters/mini/`; retired apps park in `standby/` (ADR-0001), httpbin deleted. - **Cutover order:** parked/off first, small next, large stateful last (nextcloud last); verify each app at its public URL before pruning the portable side. ## Deliverables - [ ] Backup harness live for every moving app + the four kept management apps (separate ticket; plan Phase 0) - [ ] Restore test green per app before its cutover - [ ] Velero schedule fixed (stale `actual-budget` entry; `nextcloud` + `firefly` missing) — kept as secondary only - [ ] Moved apps re-homed under `clusters/mini/` with storage class + ingress rewired - [ ] Off apps parked in `standby/`; ts3 decision executed; httpbin deleted - [ ] haproxy SNI fan-out entries cleaned up as apps leave (portable.map / mini.map) - [ ] Free-capacity targets met before hub roles are enabled (#1532 D1) - [ ] Open decisions closed: mini capacity ceiling, ts3 retirement, harbor registry backup approach, sveltos placement (plan §Open decisions) ## Depends on / linked - #1532 (plan, D1) — prerequisite to hub enablement - #1527 (edge research) — haproxy retirement interacts with what stays on portable - #1533 (network plan) — WG hub role placement on portable - `plans/portable-offload-migration.md` — the full plan (2026-08-18)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/clusters#1537
No description provided.