Apply workaround for NetworkManager and calico (#5230)

Change-Id: I5cb2bdf1a57707c1b8da3e5ac0c80e5c353480a4
This commit is contained in:
Matthew Mosesohn
2019-10-02 14:37:07 +03:00
committed by Kubernetes Prow Robot
parent a43e0d3f95
commit fb591bf232
3 changed files with 29 additions and 0 deletions

View File

@@ -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'