fix后续增加node的清理

closed
gjmzj 2017-12-26 15:56:00 +08:00
parent 8b7a90da34
commit 662ef8ff66
2 changed files with 6 additions and 3 deletions

View File

@ -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"
@ -37,6 +39,7 @@
- hosts:
- kube-cluster
- new-node
- deploy
tasks:
- name: stop calico-node service

View File

@ -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.清理集群