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

This commit is contained in:
Samina Fu 2018-10-17 07:29:43 +08:00 committed by k8s-ci-robot
parent 4d2b6b71f2
commit 5a5cf15c04

View file

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