mirror of https://github.com/easzlab/kubeasz.git
fix后续增加node的清理
parent
8b7a90da34
commit
662ef8ff66
|
@ -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
|
||||
|
|
|
@ -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.清理集群
|
||||
|
||||
|
|
Loading…
Reference in New Issue