fix: 将 k3s worker 安装改为短启动

This commit is contained in:
pikastech
2026-07-20 04:05:26 +02:00
parent 66ea3af58b
commit 3f449eec07
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -36,6 +36,7 @@
- 内容一致时保持 `mutation=false`,不得无条件重启、重装或覆盖;
- WireGuard 只在配置变化或 unit 未运行时重启/启动,避免短暂断网触发 control-plane 级联重启;
- worker agent 以 owning YAML、版本、参数、registry mirror 和 token 的脱敏摘要判断是否需要重装;
- worker 安装只做短启动,终态由 control-plane 的 Node Ready 轮询判定,不得让宿主 SSH 会话等待 systemd notify
- k3s API 暂时不可读属于 unknown,不得当作容量漂移触发 restart;
- 集群 CLI 只组合各自 owning domain,不借用全量基础设施入口扩大写入范围。
- 验收: