mirror of https://github.com/easzlab/kubeasz.git
索引更新
parent
5eb02d27cc
commit
6e925d6b4c
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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) -- [后一篇]()
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- 安装 [kubedns](kubedns.md)
|
||||
- 安装 [dashboard](dashboard.md)
|
||||
- 安装 [heapster](heapster.md)
|
||||
- 安装 ingress
|
||||
- 安装 [ingress](ingress.md)
|
||||
- 安装 efk
|
||||
|
||||
### 集群维护
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -59,4 +59,4 @@ Address 2: 180.97.33.107
|
|||
/ #
|
||||
```
|
||||
|
||||
[后一篇](dashboard.md) -- [目录](index.md)
|
||||
[前一篇](index.md) -- [目录](index.md) -- [后一篇](dashboard.md)
|
||||
|
|
|
@ -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
|
||||
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue