mirror of https://github.com/easzlab/kubeasz.git
fix清理集群时删除.kube目录
parent
026674a799
commit
af17d932d9
|
@ -35,7 +35,9 @@
|
|||
- "/etc/systemd/system/kube-scheduler.service"
|
||||
- "/etc/kubernetes/"
|
||||
|
||||
- hosts: kube-cluster
|
||||
- hosts:
|
||||
- kube-cluster
|
||||
- deploy
|
||||
tasks:
|
||||
- name: stop calico-node service
|
||||
shell: "systemctl stop calico-node docker"
|
||||
|
@ -53,6 +55,7 @@
|
|||
file: name={{ item }} state=absent
|
||||
with_items:
|
||||
- "/etc/cni/"
|
||||
- "/root/.kube/"
|
||||
- "/etc/calico/"
|
||||
- "/var/run/calico/"
|
||||
- "/var/log/calico/"
|
||||
|
|
Loading…
Reference in New Issue