Authored by chunhua.zhang

add readme files

  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`配置