Phase 4: K3s HA cluster (5-node production) #37
Labels
No labels
meeting-notes
meeting-sensitive
meeting-transcript
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coopcloud_code/home#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
5-node K3s HA cluster on TFGrid matching freezone's production setup. Zero single points of failure.
Depends on
Architecture
Tasks
Infrastructure (Terraform/OpenTofu)
projectmycelium.orgsubdomains (app, api, admin, www)Cluster Bootstrap
setup-cluster.sh— server-1 cluster-init, server-2/3 join, agent-1/2 joinsetup-storage.sh— Kadalu GlusterFS Replica3 (40GB brick per server, ext4)kadalu-replicated— RWX for backend PVCKubernetes Manifests
projectmycelium.org,app.projectmycelium.org,admin.projectmycelium.orgbranding.toml— mounted into backend podsOrchestration
make infra ENV=prod(OpenTofu apply)make cluster ENV=prod(K3s + Kadalu)make deploy ENV=prod(Kustomize apply)make all ENV=prod(infra → cluster → deploy → test)make ssh ENV=prod(Mycelium IPv6 SSH to nodes)Verification
Reference
znzfreezone_deploy/k3s-v2/znzfreezone_deploy/k3s-v2/tf/main.tf(5 nodes + 3 gateways)znzfreezone_deploy/k8s/base/+k8s/prod-ha/znzfreezone_deploy/k3s-v2/scripts/setup-*.shFailure tolerance targets
Signed-off-by: mik-tf
mik-tf referenced this issue2026-03-26 02:28:54 +00:00
Deferred — focus on single-VM first
Phases 4+5 (K3s HA + backup) are deferred until single-VM dev passes 100% of tests. The freezone K3s setup is already proven and will be straightforward to replicate once the application layer is solid.
Current blocker: 8 Playwright tests fail on dev (5 SPA-only, 2 visual/routing, 1 SPA Buy Now).
— mik-tf
Superseded by mycelium_code/home#49 — detailed task breakdown with file-by-file audit against freezone k3s-v2 reference.
— mik-tf