Commit Graph

3 Commits

Author SHA1 Message Date
zerosaturation
4a7b527759 fix(k8s): livenessProbe port to healthPort + values.yaml healthPort +1000 (follow-up P2)
- 11 个 deployment 模板: livenessProbe + readinessProbe 改用 {{ $svc.healthPort | default $svc.port }}
  (此前用 $svc.port 指向 Dubbo 端口而非 health 端口, 探针 100% fail, Pod 永不就绪);
- values.yaml: 10 个 service 的 healthPort 从 =port 改为 =port+1000 (21000/21002/.../21011);
  statisticService 21009 一致(巧合值, 不冲突);
- gateway 无 healthPort 字段, 走 default fallback 仍为 8080 (HTTP 端口,正确);
- 真正修复: 11 个 service 探针现都指向实际 health server 监听的 port+1000;
- 注意: 注释 # healthPort — 默认同 port; moderationservice 例外 与新事实不符 (留 follow-up 改注释)。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-24 15:14:38 +08:00
zerosaturation
e1fb138e8e fix(deploy): health probe paths + starbookService deployment removal (config 4.3)
- k8s helm values.yaml: notificationService/moderationService healthPath 改 /health
  (原 /healthz 与 pkg/health 实际注册路径不一致);
- 删除 k8s helm starbookservice template (服务已删, 部署已无效);
- docker-compose.{local,prod}.yml: 删 starbookService 服务块 + URL env + depends_on;
- Dockerfile.services: 删 starbookService 构建 Stage;
- build.sh + deploy.sh: 删 starbookService 引用 + ALL_SERVICES_NAME 帮助文本。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-24 14:04:41 +08:00
zerosaturation
58cada6f59 feat:增加k8s部署 2026-07-06 13:26:46 +08:00