Showing
1 changed file
with
14 additions
and
0 deletions
scripts/deploy_gateway/readme.md
0 → 100644
1 | +# 部署 `yoho gateway` | ||
2 | + | ||
3 | +why ? | ||
4 | + | ||
5 | +> 部署`gateway` 需要先在 `nginx` 的 `upstream` 中摘掉部分服务器进行部署。 完成后添加到`upstream`中,然后部署另外一部分。 | ||
6 | +> | ||
7 | +> 最后恢复`nginx upstream` | ||
8 | + | ||
9 | +## 流程 | ||
10 | + | ||
11 | + - 先切分 `inventory` 、`iptables` 文件 | ||
12 | + - 从`nginx`中摘除部分`gateway`,并且部署这些 `gateway` | ||
13 | + - `nginx`中替换为已经部署的`gateway`,并且部署剩下的部分`gateway` | ||
14 | + - 恢复`nginx`配置 |
-
Please register or login to post a comment