Skip to content

Commit

Permalink
minor changes in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Dec 1, 2017
1 parent d139608 commit 859c30e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
1. docker 17.09.0-ce
1. calico/node v2.6.2

附:集群用到的所有二进制文件已打包好供下载 `https://pan.baidu.com/s/1eSetFSA`
附:集群用到的所有二进制文件已打包好供下载 [https://pan.baidu.com/s/1eSetFSA](https://pan.baidu.com/s/1eSetFSA)

## 快速指南

Expand Down
7 changes: 4 additions & 3 deletions docs/01-创建CA证书和环境配置.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ cfssl gencert -initca ca-csr.json | cfssljson -bare ca
```
+ 注意整个集群只能有一个CA证书和配置文件,所以下一步要分发给每一个节点,包括calico/node也需要使用

请在另外窗口打开[roles/prepare/tasks/main.yml](../roles/prepare/tasks/main.yml) 文件,对照看以下讲解内容。

### 集群环境变量、CA分发

请在另外窗口打开[roles/prepare/tasks/main.yml](../roles/prepare/tasks/main.yml) 文件,因比较简单直观,这里不展开讲解了。

``` bash
roles/prepare/
├── files
Expand All @@ -94,7 +95,7 @@ roles/lb

Haproxy支持四层和七层负载,稳定性好,根据官方文档,HAProxy可以跑满10Gbps-New benchmark of HAProxy at 10 Gbps using Myricom's 10GbE NICs (Myri-10G PCI-Express),这个作为软件级负载均衡,也是比较惊人的;另外,openstack高可用也有用haproxy的。

keepalived观其名可知,保持存活,在网络里面就是保持在线了,也就是所谓的高可用或热备,这里用来防止master节点单点故障,具体说是防止haproxy的单点故障;keepalived是基于VRRP协议的
keepalived观其名可知,保持存活,它是基于VRRP协议保证所谓的高可用或热备的,这里用来防止master节点单点故障,具体说是防止haproxy的单点故障。

keepalived与haproxy配合,实现master的高可用过程如下:

Expand Down

0 comments on commit 859c30e

Please sign in to comment.