mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
This reverts commit 316508626d.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
316508626d
commit
d39c273d96
@@ -1,14 +1,15 @@
|
||||
---
|
||||
- name: reset_calico_cni
|
||||
- name: restart calico-node
|
||||
command: /bin/true
|
||||
notify:
|
||||
- delete 10-calico.conflist
|
||||
- delete calico-node containers
|
||||
- Calico | reload systemd
|
||||
- Calico | reload calico-node
|
||||
|
||||
- name: delete 10-calico.conflist
|
||||
file:
|
||||
path: /etc/calico/10-calico.conflist
|
||||
state: absent
|
||||
- name: Calico | reload systemd
|
||||
shell: systemctl daemon-reload
|
||||
|
||||
- name: delete calico-node containers
|
||||
shell: "docker ps -af name=k8s_POD_calico-node* -q | xargs --no-run-if-empty docker rm -f"
|
||||
- name: Calico | reload calico-node
|
||||
service:
|
||||
name: calico-node
|
||||
state: restarted
|
||||
sleep: 10
|
||||
|
||||
Reference in New Issue
Block a user