mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Apply workaround for NetworkManager and calico (#5230)
Change-Id: I5cb2bdf1a57707c1b8da3e5ac0c80e5c353480a4
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
a43e0d3f95
commit
fb591bf232
@@ -18,3 +18,9 @@
|
||||
- name: containerd | delete calico-node containers
|
||||
shell: 'crictl pods --name calico-node-* -q | xargs -I% --no-run-if-empty bash -c "crictl stopp % && crictl rmp %"'
|
||||
when: container_manager in ["crio", "containerd"]
|
||||
|
||||
- name: Calico | Reload NetworkManager
|
||||
service:
|
||||
name: NetworkManager
|
||||
state: reloaded
|
||||
when: '"running" in nm_check.stdout'
|
||||
|
||||
Reference in New Issue
Block a user