Skip to content

Commit

Permalink
Update 06-1.ha.md
Browse files Browse the repository at this point in the history
KUBE_APISERVER port update
  • Loading branch information
wenhuwang authored Sep 12, 2018
1 parent 5ccb4ca commit 6c7b58d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 06-1.ha.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ listen kube-master
EOF
```
+ haproxy 在 10080 端口输出 status 信息;
+ haproxy 监听**所有接口**8443 端口,该端口与环境变量 ${KUBE_APISERVER} 指定的端口必须一致;
+ haproxy 监听**所有接口**6443 端口,该端口与环境变量 ${KUBE_APISERVER} 指定的端口必须一致;
+ server 字段列出所有 kube-apiserver 监听的 IP 和端口;

下发 haproxy.cfg 到所有 master 节点:
Expand Down Expand Up @@ -265,4 +265,4 @@ for node_ip in ${NODE_IPS[@]}

浏览器访问 ${MASTER_VIP}:10080/status 地址,查看 haproxy 状态页面:

![haproxy](images/haproxy.png)
![haproxy](images/haproxy.png)

0 comments on commit 6c7b58d

Please sign in to comment.