Skip to content

Commit

Permalink
索引更新
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgao1983 committed Dec 18, 2017
1 parent 5eb02d2 commit 6e925d6
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/00-集群规划和基础参数设定.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ cp example/hosts.m-masters.example hosts
#ansible-playbook 90.setup.yml # 一步安装
```


[前一篇](quickStart.md) -- [目录](https://github.com/gjmzj/kubeasz/tree/master/docs) -- [后一篇](01-创建CA证书和环境配置.md)
3 changes: 3 additions & 0 deletions docs/01-创建CA证书和环境配置.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,6 @@ ip a # 检查 master的 VIP地址是否存在

1. 尝试关闭 keepalived主节点上的 haproxy进程,然后在keepalived 备节点上查看 master的 VIP地址是否能够漂移过来,并依次检查上一步中的验证项。
1. 尝试直接关闭 keepalived 主节点系统,检查各验证项。


[前一篇](00-集群规划和基础参数设定.md) -- [目录](https://github.com/gjmzj/kubeasz/tree/master/docs) -- [后一篇](02-安装etcd集群.md)
3 changes: 3 additions & 0 deletions docs/02-安装etcd集群.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,6 @@ https://192.168.1.2:2379 is healthy: successfully committed proposal: took = 2.7
https://192.168.1.3:2379 is healthy: successfully committed proposal: took = 3.275709ms
```
三台 etcd 的输出均为 healthy 时表示集群服务正常。


[前一篇](01-创建CA证书和环境配置.md) -- [目录](https://github.com/gjmzj/kubeasz/tree/master/docs) -- [后一篇](03-配置kubectl命令行工具.md)
3 changes: 3 additions & 0 deletions docs/03-配置kubectl命令行工具.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,6 @@ cd {{ ca_dir }} && {{ bin_dir }}/cfssl gencert \
```
+ 注意{{ }}中参数与ansible hosts文件中设置对应
+ 以上生成的 kubeconfig 自动保存到 ~/.kube/config 文件


[前一篇](02-安装etcd集群.md) -- [目录](https://github.com/gjmzj/kubeasz/tree/master/docs) -- [后一篇](04-安装docker服务.md)
2 changes: 2 additions & 0 deletions docs/04-安装docker服务.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,5 @@ iptables-save|grep FORWARD
-A FORWARD -i docker0 -o docker0 -j ACCEPT
-A FORWARD -j ACCEPT
```

[前一篇](03-配置kubectl命令行工具.md) -- [目录](https://github.com/gjmzj/kubeasz/tree/master/docs) -- [后一篇](05-安装calico网络组件.md)
2 changes: 2 additions & 0 deletions docs/05-安装calico网络组件.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,5 @@ calicoctl get ipPool -o yaml
spec:
nat-outgoing: true
```

[前一篇](04-安装docker服务.md) -- [目录](https://github.com/gjmzj/kubeasz/tree/master/docs) -- [后一篇](06-安装kube-master节点.md)
2 changes: 2 additions & 0 deletions docs/06-安装kube-master节点.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,5 @@ etcd-0 Healthy {"health": "true"}
etcd-2 Healthy {"health": "true"}
etcd-1 Healthy {"health": "true"}
```

[前一篇](05-安装calico网络组件.md) -- [目录](https://github.com/gjmzj/kubeasz/tree/master/docs) -- [后一篇](07-安装kube-node节点.md)
3 changes: 3 additions & 0 deletions docs/07-安装kube-node节点.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,6 @@ kubectl get pod -n kube-system -o wide
NAME READY STATUS RESTARTS AGE IP NODE
calico-kube-controllers-69bcb79c6-b444q 1/1 Running 0 2d 192.168.1.44 192.168.1.44
```


[前一篇](06-安装kube-master节点.md) -- [目录](https://github.com/gjmzj/kubeasz/tree/master/docs) -- [后一篇]()
2 changes: 1 addition & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- 安装 [kubedns](kubedns.md)
- 安装 [dashboard](dashboard.md)
- 安装 [heapster](heapster.md)
- 安装 ingress
- 安装 [ingress](ingress.md)
- 安装 efk

### 集群维护
Expand Down
1 change: 1 addition & 0 deletions docs/guide/ingress.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ spec:
这样在集群外部可以使用 `curl -H Host:traefik-ui.test.com 192.168.1.1:23456` 尝试访问WEB管理页面,返回 `<a href="/dashboard/">Found</a>.`说明 traefik-ui的ingress配置生效了。


[前一篇](heapster.md) -- [目录](index.md) -- [后一篇](efk.md)
2 changes: 1 addition & 1 deletion docs/guide/kubedns.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ Address 2: 180.97.33.107
/ #
```
[后一篇](dashboard.md) -- [目录](index.md)
[前一篇](index.md) -- [目录](index.md) -- [后一篇](dashboard.md)
4 changes: 2 additions & 2 deletions docs/quickStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ansible-playbook 90.setup.yml # 一步安装
#ansible-playbook 06.kube-master.yml
#ansible-playbook 07.kube-node.yml
```
如果执行成功,k8s集群就安装好了。详细安装步骤讲解请移步[安装步骤](https://github.com/gjmzj/kubeasz/tree/master/docs)
如果执行成功,k8s集群就安装好了。详细分步讲解请移步 [安装步骤](https://github.com/gjmzj/kubeasz/tree/master/docs)

### 4.验证安装
``` bash
Expand All @@ -67,4 +67,4 @@ kubectl create -f /etc/ansible/manifests/heapster
# 安装dashboard
kubectl create -f /etc/ansible/manifests/dashboard
```
+ 更新后`dashboard`已经默认关闭非安全端口访问和NodePort方式访问,请使用`https://10.100.80.30:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy`访问,并用默认用户 `admin:test1234` 登陆,更多内容请查阅[dashboard文档](guide/dashboard.md)
+ 更新后`dashboard`已经默认关闭非安全端口访问,请使用`https://10.100.80.30:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy`访问,并用默认用户 `admin:test1234` 登陆,更多内容请查阅[dashboard文档](guide/dashboard.md)
4 changes: 2 additions & 2 deletions docs/quickStartCentOS7.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ansible-playbook 90.setup.yml # 一步安装
#ansible-playbook 06.kube-master.yml
#ansible-playbook 07.kube-node.yml
```
如果执行成功,k8s集群就安装好了。详细安装步骤讲解请移步[安装步骤](https://github.com/gjmzj/kubeasz/tree/master/docs)
如果执行成功,k8s集群就安装好了。详细分步讲解请移步 [安装步骤](https://github.com/gjmzj/kubeasz/tree/master/docs)

### 4.验证安装
``` bash
Expand All @@ -68,4 +68,4 @@ kubectl create -f /etc/ansible/manifests/heapster
# 安装dashboard
kubectl create -f /etc/ansible/manifests/dashboard
```
+ 更新后`dashboard`已经默认关闭非安全端口访问和NodePort方式访问,请使用`https://10.100.80.30:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy`访问,并用默认用户 `admin:test1234` 登陆,更多内容请查阅[dashboard文档](guide/dashboard.md)
+ 更新后`dashboard`已经默认关闭非安全端口访问,请使用`https://10.100.80.30:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy`访问,并用默认用户 `admin:test1234` 登陆,更多内容请查阅[dashboard文档](guide/dashboard.md)

0 comments on commit 6e925d6

Please sign in to comment.