The Gateway, certificate and routes move from ins-landing.containerverse.dev to the new host. The page sets og:url to it and is marked noindex, since it is shared through links and QR codes only. The infinitynetworks.com.my zone is hosted at secure-sys.com, not on our Cloudflare, so the host needs a plain A record to the cluster and visitors connect directly. The handover lists what the cluster manager must confirm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfjzaeuedkpHBD7LkFm
This commit is contained in:
1 parent
e969870fdf
commit
6244f9595a
4 files changed
+22
-17
No files matched your search
@@ -28,12 +28,12 @@ Environment: `DATABASE_URL` (required), `PORT` (default `3000`). Tests create th
|
||||
- `20-postgres.yaml`: Postgres 18 StatefulSet with a Longhorn PVC (2 Gi, ReadWriteOnce) and a headless Service `postgres`.
|
||||
- `40-app.yaml`: Service and Deployment. The app waits in an init container until Postgres answers, then creates the `leads` table if it is missing. It runs as uid 1000 with a read-only root filesystem.
|
||||
- `50-gateway.yaml`:
|
||||
- A Let's Encrypt Certificate and a Traefik Gateway for `ins-landing.containerverse.dev`.
|
||||
- A Let's Encrypt Certificate and a Traefik Gateway for `hospitality.infinitynetworks.com.my`.
|
||||
- HTTP redirects to HTTPS.
|
||||
- `POST /api/leads` goes through the `lead-rate-limit` middleware: 5 per minute per visitor, burst 5, keyed on the Cloudflare visitor IP.
|
||||
- `POST /api/leads` goes through the `lead-rate-limit` middleware: 5 per minute per visitor, burst 5, keyed on the visitor IP.
|
||||
- `60-network-policy.yaml`: denies all ingress except Traefik to the app (port 3000), the app to Postgres (5432), and Traefik to cert-manager's HTTP-01 solver.
|
||||
|
||||
Prerequisite: DNS for `ins-landing.containerverse.dev` points at the cluster through Cloudflare, like the other `containerverse.dev` hosts.
|
||||
Prerequisite: an A record for `hospitality.infinitynetworks.com.my` points at the cluster's public IP. The zone is not on Cloudflare; see `docs/deployment-handover.md`.
|
||||
|
||||
First install, on the microk8s host (`k` = `microk8s kubectl`):
|
||||
|
||||
|
||||
Reference in new issue
Block a user