Remove iface kube-ipvs0 on reset when kube_proxy_mode is ipvs (#3802)
This commit is contained in:
parent
9463b70edd
commit
19792cfae7
1 changed files with 5 additions and 0 deletions
|
@ -112,6 +112,11 @@
|
||||||
when:
|
when:
|
||||||
- kube_proxy_mode == 'ipvs'
|
- kube_proxy_mode == 'ipvs'
|
||||||
|
|
||||||
|
- name: reset | Remove kube-ipvs0
|
||||||
|
command: "ip link del kube-ipvs0"
|
||||||
|
when:
|
||||||
|
- kube_proxy_mode == 'ipvs'
|
||||||
|
|
||||||
- name: reset | delete some files and directories
|
- name: reset | delete some files and directories
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
|
Loading…
Reference in a new issue