Commit Graph

7 Commits

Author SHA1 Message Date
ZhenYi
b6022e824d feat(k8s): enforce minimum 2 replicas for all services except email-worker 2026-04-15 23:08:25 +08:00
ZhenYi
e7cf0c544f fix(k8s): remove all health probes from gitserver 2026-04-15 23:07:17 +08:00
ZhenYi
c033cc3ff8 fix(k8s): add procps to worker images and fix probe commands
- Add procps to git-hook and email-worker Dockerfiles (provides pgrep)
- Change all exec probes from pgrep to kill -0 1 (more reliable, bash built-in)
- Add startupProbe to gitserver with 30 failure threshold (5min max startup time)
- Increase gitserver liveness initialDelay to 30s for slower SSH init
2026-04-15 22:13:16 +08:00
ZhenYi
6c3f5b49f8 feat(deploy): single unified Ingress with per-host routing
Replace multiple conflicting Ingress resources with one that routes:
- gitdata.ai         → frontend (port 80)
- api.gitdata.ai     → app (port 8080)
- git.gitdata.ai     → gitserver-http (port 8022)
- static.gitdata.ai  → static (port 8081)

Disable service-level ingress configs in values.yaml (they would
conflict on the same host/path). Single TLS secret covers all hosts.
2026-04-15 14:17:03 +08:00
ZhenYi
2f31e7268b feat: add imagePullSecrets support to all deployment templates 2026-04-15 10:59:15 +08:00
ZhenYi
0ebbc6e29e fix: remove limits from resources to fix K8s schema validation
The cluster's API server rejects the limits field in Deployment containers.
Keep only requests (CPU/memory) for now.
2026-04-15 10:38:47 +08:00
ZhenYi
93cfff9738 init 2026-04-15 09:08:09 +08:00