k8s : asd
This commit is contained in:
@@ -5,7 +5,7 @@ team, rotation, and comparison data into responsive game-guide pages. Authors
|
||||
work in a visual block editor; visitors get readable guides rather than a
|
||||
spreadsheet interface.
|
||||
|
||||
Production target: `https://sheet.sudloh.com`
|
||||
Production target: `https://guide.sudloh.com`
|
||||
|
||||
## Included capabilities
|
||||
|
||||
@@ -187,7 +187,7 @@ Kustomize resources live in `k8s/` and define:
|
||||
|
||||
- Namespace `buzz-sheet`.
|
||||
- Two rolling web replicas and one outbox worker.
|
||||
- ClusterIP port 3000 and Traefik ingress for `sheet.sudloh.com`.
|
||||
- ClusterIP port 3000 and Traefik ingress for `guide.sudloh.com`.
|
||||
- Cloudflare edge TLS with the cluster's standard HTTP Traefik origin route.
|
||||
- Startup, liveness, and dependency-aware readiness probes.
|
||||
- Web requests of 500m CPU/512 MiB and limits of 1 CPU/1 GiB.
|
||||
|
||||
@@ -49,7 +49,7 @@ kubectl rollout status deployment/buzz-sheet-worker \
|
||||
Verify PostgreSQL and Redis readiness, then inspect the application logs:
|
||||
|
||||
```bash
|
||||
curl -fsS 'https://sheet.sudloh.com/api/health?ready=1'
|
||||
curl -fsS 'https://guide.sudloh.com/api/health?ready=1'
|
||||
bun logs
|
||||
```
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ describe("production deployment contract", () => {
|
||||
expect(service).toContain("port: 3000");
|
||||
expect(service).toContain("targetPort: http");
|
||||
expect(ingress).toContain("ingressClassName: traefik");
|
||||
expect(ingress).toContain("host: sheet.sudloh.com");
|
||||
expect(ingress).toContain("host: guide.sudloh.com");
|
||||
expect(ingress).toContain(
|
||||
'traefik.ingress.kubernetes.io/read-timeout: "200"',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user