Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
unixhot authored Jul 29, 2020
1 parent 00e9dd8 commit 0fc09a1
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ CLUSTER_DNS_DOMAIN: "cluster.local."
[root@linux-node1 ~]# chown $(id -u):$(id -g) $HOME/.kube/config
```

5.4 部署网络插件Flannel
5.4 部署网络插件Flannel

> 如果你的网卡名称不是eth0,请修改对应参数
```
[root@linux-node1 ~]# kubectl create -f /etc/sysconfig/kube-flannel.yml
Expand Down Expand Up @@ -282,10 +284,7 @@ linux-node3.example.com Ready <none> 108m v1.18.3
[root@linux-node1 ~]# kubectl label nodes linux-node2.example.com edgenode=true
[root@linux-node1 ~]# kubectl create -f ingress-nginx.yaml
[root@linux-node1 ~]# kubectl get pod -n ingress-nginx
NAME READY STATUS RESTARTS AGE
nginx-ingress-controller-8nknv 1/1 Running 0 55s
[root@linux-node1 ~]# kubectl create -f /srv/addons/traefik-ingress/
```


Expand All @@ -312,7 +311,7 @@ version.BuildInfo{Version:"v3.2.4", GitCommit:"b29d20baf09943e134c2fa5e1e1cab3bf

1.设置SSH无密码登录
```
[root@linux-node1 ~]# ssh-copy-id linux-node3
[root@linux-node1 ~]# ssh-copy-id linux-node4
```

2.在/etc/salt/roster里面,增加对应的机器
Expand All @@ -331,5 +330,3 @@ linux-node4:
```
[root@linux-node1 ~]# salt-ssh 'linux-node4' state.highstate
```

## Kubernetes高可用多Master部署(待更新)

0 comments on commit 0fc09a1

Please sign in to comment.