docs(okf): replace Cloudflare Tunnel with own nginx reverse proxy
direction change: own nginx proxy (Terraform-installed, certbot TLS) is the only public entry; add own-proxy decision; update system, gateway SSE notes, server budget and accepted-downtime docs
This commit is contained in:
1 parent
e432895080
commit
3636053a35
8 files changed
+47
-14
No files matched your search
+7
-7
@@ -36,12 +36,12 @@ Full mapping: [chapter states](/chapters/state-mapping.md).
|
||||
# How it works, high level
|
||||
|
||||
```
|
||||
Visitor ─► Cloudflare Tunnel ─► Go gateway ─┬─ serves the Nuxt site (static files)
|
||||
├─ streams live chapter states (SSE)
|
||||
└─ forwards "push" to a chapter's /fall
|
||||
│
|
||||
chapter services in namespace `cv`
|
||||
(one Go image, behavior set by env)
|
||||
Visitor ─► nginx (TLS, Terraform) ─► Go gateway ─┬─ serves the Nuxt site (static files)
|
||||
├─ streams live chapter states (SSE)
|
||||
└─ forwards "push" to a chapter's /fall
|
||||
│
|
||||
chapter services in namespace `cv`
|
||||
(one Go image, behavior set by env)
|
||||
```
|
||||
|
||||
When a chapter is pushed, its process exits, Kubernetes restarts it, and the
|
||||
@@ -58,7 +58,7 @@ page shows the real recovery time next to the story of how Noel recovered.
|
||||
|
||||
- **Learning project, ship small.** Each release is a few days of work.
|
||||
- **No tooling beyond the stack without Noel's approval.** The stack is Nuxt,
|
||||
Go, k3s, Snyk, Gitea Actions, release-please, Cloudflare Tunnel, and k6.
|
||||
Go, k3s, Terraform, Docker, Snyk, Gitea Actions, release-please, nginx and k6.
|
||||
- **Small server.** 2 vCPU, 4 GB, shared with Gitea. The whole CV is capped at 384Mi. See [server budget](/architecture/server-budget.md).
|
||||
- **Nobody gets Kubernetes API access.** Visitors and agents only talk to the gateway.
|
||||
- **Failures are lessons, never bugs.**
|
||||
|
||||
Reference in new issue
Block a user