Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgao1983 committed Dec 26, 2017
1 parent e6ee0e4 commit 938016a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
7 changes: 5 additions & 2 deletions 99.clean.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# 警告:此脚本将清理真个K8S集群,包括所有POD、ETCD数据等
# 警告:此脚本将清理整个K8S集群,包括所有POD、ETCD数据等
# 请三思后运行此脚本 ansible-playbook 99.clean.yml

- hosts: kube-node
- hosts:
- kube-node
- new-node
tasks:
- name: stop kube-node service
shell: "systemctl stop kubelet kube-proxy"
Expand Down Expand Up @@ -37,6 +39,7 @@

- hosts:
- kube-cluster
- new-node
- deploy
tasks:
- name: stop calico-node service
Expand Down
2 changes: 1 addition & 1 deletion docs/quickStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ kubectl create -f /etc/ansible/manifests/heapster
# 安装dashboard
kubectl create -f /etc/ansible/manifests/dashboard
```
+ 更新后`dashboard`已经默认关闭非安全端口访问,请使用`https://10.100.80.30:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy`访问,并用默认用户 `admin:test1234` 登陆,更多内容请查阅[dashboard文档](guide/dashboard.md)
+ 更新后`dashboard`已经默认关闭非安全端口访问,请使用`https://xx.xx.xx.xx:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy`访问,并用默认用户 `admin:test1234` 登陆,更多内容请查阅[dashboard文档](guide/dashboard.md)

### 7.清理集群

Expand Down
6 changes: 5 additions & 1 deletion example/hosts.allinone.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ kube-master

# 如果启用harbor,请配置后面harbor相关参数
[harbor]
#10.100.97.44 NODE_IP="192.168.1.8"
#192.168.1.8 NODE_IP="192.168.1.8"

# 预留组,后续添加node节点使用
[new-node]
#192.168.1.xx NODE_ID=node6 NODE_IP="192.168.1.xx"

[all:vars]
# ---------集群主要参数---------------
Expand Down
2 changes: 1 addition & 1 deletion example/hosts.m-masters.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ kube-master

# 如果启用harbor,请配置后面harbor相关参数
[harbor]
#10.100.97.44 NODE_IP="192.168.1.8"
#192.168.1.8 NODE_IP="192.168.1.8"

# 预留组,后续添加node节点使用
[new-node]
Expand Down
6 changes: 5 additions & 1 deletion example/hosts.s-master.example
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ kube-master

# 如果启用harbor,请配置后面harbor相关参数
[harbor]
#10.100.97.44 NODE_IP="192.168.1.8"
#192.168.1.8 NODE_IP="192.168.1.8"

# 预留组,后续添加node节点使用
[new-node]
#192.168.1.xx NODE_ID=node6 NODE_IP="192.168.1.xx"

[all:vars]
# ---------集群主要参数---------------
Expand Down

0 comments on commit 938016a

Please sign in to comment.