reset: unmount calico cgroup2 fs before deleting /run/calico (#13592)

Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
This commit is contained in:
ERIK
2026-10-08 12:17:58 +00:00
committed by GitHub
parent a1102771f8
commit d74d180c09
2 changed files with 19 additions and 2 deletions
+4 -2
View File
@@ -384,7 +384,6 @@
- /var/lib/kube-router
- /var/lib/calico
- /etc/cilium
- /run/calico
- /etc/bash_completion.d/kubectl.sh
- /etc/bash_completion.d/crictl
- /etc/bash_completion.d/nerdctl
@@ -437,10 +436,13 @@
include_role:
name: "network_plugin/{{ kube_network_plugin }}"
tasks_from: reset
apply:
tags:
- network
when:
- kube_network_plugin in ['flannel', 'cilium', 'kube-router', 'calico']
tags:
- network
- always
- name: Reset | Restart network
when: