fix: bound remote gc stdout
This commit is contained in:
@@ -70,6 +70,7 @@ Registry 执行必须以远端异步 job 完成,并具备以下维护保护:
|
||||
- 缩容 registry 后运行官方 `registry:2.8.3` garbage-collect pod。
|
||||
- finally 阶段删除 GC pod、恢复 registry replicas、等待 rollout、恢复 CronJob suspend 状态。
|
||||
- 状态查询使用 `gc remote G14 status --job-id <id>`,不使用长 SSH 会话等待。
|
||||
- `gc remote` 的 stdout 是有界 JSON:当 `--full` 或大量候选导致结果过大时,完整结果会写入远端 `/tmp/unidesk-gc-remote/jobs/<job>.json`,stdout 只返回摘要、`jobId`、`statePath` 和 `statusCommand`,再用 `gc remote G14 status --job-id <job>` 渐进查询,避免输出爆炸被误判为 JSON 失败。
|
||||
|
||||
## Safe Stop Line
|
||||
|
||||
|
||||
Reference in New Issue
Block a user