feat: deploy-node.sh also deploys the Backend and migrates old probe.json [CI SKIP]
This commit is contained in:
1 parent
a9f562441f
commit
b4b50c636f
2 files changed
+75
-17
No files matched your search
+3
-1
@@ -213,7 +213,9 @@ OpenWrt 默认不带 OpenSSL:`opkg install libopenssl3`(较新的快照和 2
|
||||
# 首次部署(需要 root;脚本和 packaging/ 里的 systemd/、update/ 放在一起)
|
||||
sudo sh deploy-node.sh agent --image-repo registry.oeo.one/moshiro/moshiro-agent --server https://<backend> --join <token> --name <name>
|
||||
sudo sh deploy-node.sh probe --image-repo registry.oeo.one/moshiro/moshiro-probe --server https://<backend> --join <probe 令牌> --name <name>
|
||||
# 之后更新节点:不带参数
|
||||
# Backend(只支持 Podman,更新策略固定为管理端确认;--port 默认 29181,环境文件写在 /etc/moshiro/backend.env,已有的不覆盖)
|
||||
sudo sh deploy-node.sh backend --channel dev --admin-password '<密码>' --public-url https://<面板域名>
|
||||
# 之后更新:不带参数(旧版 Probe 的 probe.json 没有 fleet 段,加上 --server --join --name 重新运行即可,旧文件备份为 probe.json.old)
|
||||
sudo sh deploy-node.sh agent
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user