Skip to content

Commit

Permalink
Update master-ha.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ggggarlic authored Oct 7, 2019
1 parent 178e614 commit 996bee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion practice/master-ha.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ listen kube-master
- priority决定哪个Master是主,哪个Master是次。数字大的是主,数字小的是次。数字越大优先级越高。
- `virtual_router_id`决定当前VIP的路由号,实际上VIP提供了一个虚拟的路由功能,该VIP在同一个子网内必须是唯一。
- virtual_ipaddress提供的就是VIP的地址,该地址在子网内必须是空闲未必分配的。
- state 决定初始化时节点的状态, 建议 priority 最高的节点设置为 MASTER
- `state` 决定初始化时节点的状态, 建议 `priority` 最高的节点设置为 `MASTER`

```ini
# keepalived.cfg sample
Expand Down

0 comments on commit 996bee1

Please sign in to comment.