19 Commits

Author SHA1 Message Date
zhx
a2ff4768d3 feat: adopt remote image prune hot-patch from deploy machine
把部署机上未提交的本地热补丁正式入库:服务更新预拉镜像后,顺手清理目标
宿主机上超过 REMOTE_IMAGE_PRUNE_KEEP_DAYS 天且未被容器引用的历史镜像;
cleanup_deploy_disk.sh 同步增加 cleanup_remote_host_images。

发布流程测试补上 prune_remote_host_images 的 mock,避免单测触发真实 SSH。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 13:05:51 +08:00
zhx
f89ebe797e fix: drain internal CLB targets before restarting service instances
部署/滚动重启非 gateway 实例时,先把该实例在内网 CLB(app-internal/pay-internal)
上的后端权重摘到 0 并等待排空,实例恢复健康后再还原权重。

此前只做 Nacos 摘流,但业务服务之间(如 live -> other)经内网 CLB 固定 VIP
互调,Nacos 摘流对这部分流量无效:容器被杀后 CLB 健康检查(5s x 3 次)摘除
死后端之前,调用方请求持续打到死后端,把调用方线程池拖垮,表现为
“部署 other 时 live 挂掉一个”(health 探测超时 60-70 秒)。

通过 INTERNAL_CLB_IDS 配置启用;未配置时保持历史行为。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 12:56:27 +08:00
zhx
1aa3365ecb fix: pass mongo env to dashboard cdc worker 2026-05-28 11:57:36 +08:00
zhx
6dff58f16f fix: enforce dashboard cdc env file 2026-05-23 12:54:39 +08:00
zhx
5a99fa46fd support dashboard cdc mysql credentials 2026-05-22 14:23:10 +08:00
zhx
1b21e2c939 add dashboard cdc worker deployment 2026-05-22 14:05:23 +08:00
zhx
55c8415f75 fix: bound generated docker json logs 2026-05-12 12:02:26 +08:00
ZuoZuo
2095d37cff Expose task center MQ and archive runtime config 2026-05-10 02:05:26 +08:00
170-carry
b7c388db3e force prod profiles in compose templates 2026-04-29 14:47:49 +08:00
170-carry
649f348540 Fix nacos drain state detection 2026-04-27 23:35:31 +08:00
170-carry
05f0ecbfbc Add chatapp cron deployment 2026-04-27 18:42:56 +08:00
hy
e1519a77f4 feat: add common tools page with CDN refresh 2026-04-23 21:46:31 +08:00
hy
3d66ed45ac 限定 gateway 发布只处理 jvapi 规则 2026-04-23 17:01:03 +08:00
hy
a059e76742 修复 CLB SDK 返回体解析 2026-04-23 16:52:23 +08:00
hy
463d45614d 补充 gateway 发布 CLB 摘流链路 2026-04-23 16:49:36 +08:00
hy
9cbb777674 fix release targets fallback and git-based ssh deploy 2026-04-23 12:34:10 +08:00
hy
579e8a4aa5 精简yumi发布页并修复加载 2026-04-23 12:30:03 +08:00
hy
4f3b55468f 修复mysql 2026-04-23 11:59:58 +08:00
ZuoZuo
47ba1c8a76 refactor monitor structure and polish control console 2026-04-23 04:19:55 +08:00