Skip to content

Commit

Permalink
docs: 更新集群节点规划
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed May 16, 2019
1 parent 11cbb8d commit 88b92db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions docs/setup/00-planning_and_overall_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@

|角色|数量|描述|
|:-|:-|:-|
|deploy节点|1|运行这份 ansible 脚本的节点|
|etcd节点|3|注意etcd集群必须是1,3,5,7...奇数个节点|
|master节点|2|需要额外规划一个master VIP(虚地址),一般可以复用etcd节点|
|lb节点|2|负载均衡节点两个,安装 haproxy+keepalived|
|node节点|3|运行应用负载的节点,可根据需要提升机器配置或增加节点数|
|easzctl节点|1|运行ansible/easzctl脚本,一般复用deploy节点,但如果需要[管理创建多个集群](easzctl_cmd.md),建议使用独立节点(1c1g)|
|deploy节点|1|运行CA创建、集群部署、插件安装等,一般复用第一个master或node节点|
|etcd节点|3|注意etcd集群需要1,3,5,7...奇数个节点,一般复用master节点|
|master节点|2|多master节点需要额外规划一个master VIP(虚地址)|
|lb节点|2|负载均衡节点安装 haproxy+keepalived,一般复用master节点|
|node节点|3|运行应用负载的节点,可根据需要提升机器配置/增加节点数|

项目预定义了4个例子,请修改后完成适合你的集群规划。

Expand Down
2 changes: 1 addition & 1 deletion docs/setup/easzctl_cmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

集群 context 由 ansible hosts 配置、roles 配置等组成,用以区分不同的 k8s 集群,从而实现多集群的创建和管理;当然 easzctl 命令行不是必须的,你仍旧可以使用之前熟悉的方式安装/管理集群。

典型 easzctl 创建管理的集群拓扑如下
## 典型 easzctl 创建管理的集群拓扑如下

```
+----------------+ +-----------------+
Expand Down

0 comments on commit 88b92db

Please sign in to comment.