mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-09 10:27:39 -02:30
Fix calico v3.4.0 scale and upgrade (#4531)
* reset calico after install * remove extra line
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
a4e65c7ceb
commit
fc1edbe79d
@@ -1,15 +1,14 @@
|
||||
---
|
||||
- name: restart calico-node
|
||||
- name: reset_calico_cni
|
||||
command: /bin/true
|
||||
notify:
|
||||
- Calico | reload systemd
|
||||
- Calico | reload calico-node
|
||||
- delete 10-calico.conflist
|
||||
- delete calico-node containers
|
||||
|
||||
- name: Calico | reload systemd
|
||||
shell: systemctl daemon-reload
|
||||
- name: delete 10-calico.conflist
|
||||
file:
|
||||
path: /etc/calico/10-calico.conflist
|
||||
state: absent
|
||||
|
||||
- name: Calico | reload calico-node
|
||||
service:
|
||||
name: calico-node
|
||||
state: restarted
|
||||
sleep: 10
|
||||
- name: delete calico-node containers
|
||||
shell: "docker ps -af name=k8s_POD_calico-node* -q | xargs --no-run-if-empty docker rm -f"
|
||||
|
||||
Reference in New Issue
Block a user