Add clear ipvs virtual server table when reset k8s (#3530)

pull/3532/head
Samina Fu 2018-10-17 07:29:43 +08:00 committed by k8s-ci-robot
parent 4d2b6b71f2
commit 5a5cf15c04
1 changed files with 5 additions and 0 deletions

View File

@ -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 }}"