Add clear ipvs virtual server table when reset k8s (#3530)
parent
4d2b6b71f2
commit
5a5cf15c04
|
@ -107,6 +107,11 @@
|
||||||
tags:
|
tags:
|
||||||
- iptables
|
- iptables
|
||||||
|
|
||||||
|
- name: Clear IPVS virtual server table
|
||||||
|
shell: "ipvsadm -C"
|
||||||
|
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 New Issue