6 Commits

Author SHA1 Message Date
Alexis Bruneteau
3853e97ddf fix(k8s): correct port configuration for Next.js 3000 port
Some checks failed
Build and Deploy to k3s (Production) / build-and-deploy (push) Failing after 3m11s
Fix 502 Bad Gateway error - application was configured to listen on port 80
but Dockerfile specifies port 3000 for Next.js.

Changes:
- Updated deployment.yml: containerPort 80 → 3000 (both prod & alpha)
- Updated service.yml: targetPort 80 → 3000 (both prod & alpha)
- Added image registry suffix: hosting-frontend → hosting-frontend-prod/alpha
- Added environment variable: NEXT_PUBLIC_API_URL
- Added health checks: livenessProbe and readinessProbe
- Added protocol: TCP explicit declaration

Benefits:
- Fixes 502 Bad Gateway errors from Cloudflare
- Proper port mapping: Ingress 80 → Service 80 → Pod 3000
- Health checks enable Kubernetes to detect pod issues
- Environment variables passed at deployment time

Deployment Flow:
  Client → Cloudflare → Ingress (traefik:80) → Service (port:80) → Pod (3000)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 01:16:34 +02:00
Alexis Bruneteau
e785ea0ea6 fixed ingress
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 38s
2025-06-02 12:17:44 +02:00
Alexis Bruneteau
120fc26d01 DNS
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 38s
2025-06-01 15:34:02 +02:00
Alexis Bruneteau
a55a295164 pre-alpha test
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 39s
2025-06-01 14:04:20 +02:00
Alexis Bruneteau
85ab22d566 dingz 2025-05-31 17:58:30 +02:00
Alexis Bruneteau
54083e4233 tag 2025-05-31 17:15:36 +02:00