Add clear ipvs virtual server table when reset k8s (#3530)
This commit is contained in:
parent
4d2b6b71f2
commit
5a5cf15c04
1 changed files with 5 additions and 0 deletions
|
@ -107,6 +107,11 @@
|
|||
tags:
|
||||
- iptables
|
||||
|
||||
- name: Clear IPVS virtual server table
|
||||
shell: "ipvsadm -C"
|
||||
when:
|
||||
- kube_proxy_mode == 'ipvs'
|
||||
|
||||
- name: reset | delete some files and directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
|
|
Loading…
Reference in a new issue