Skip to content

Commit

Permalink
fix 删除etcd服务不影响node服务 #690
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Sep 8, 2019
1 parent 48987e8 commit 468a96c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion roles/clean/tasks/clean_etcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@
- "/etc/etcd/"
- "/backup/k8s"
- "/etc/systemd/system/etcd.service"
- "{{ ca_dir }}"
when: "inventory_hostname in groups['etcd']"
1 change: 0 additions & 1 deletion roles/clean/tasks/clean_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
- "/etc/systemd/system/kube-proxy.service"
- "/opt/kube/kube-system/"
- "/etc/kubernetes/"
- "{{ ca_dir }}"
- "/root/.kube/config"

# to clean container runtime and networking
Expand Down

0 comments on commit 468a96c

Please sign in to comment.