Fix error with ipvs on cluster reset task (#3848)

This commit is contained in:
Maxim Snezhkov 2018-12-12 16:43:16 +07:00 committed by Kubernetes Prow Robot
parent c04e8b57b9
commit 951e4675c6

View file

@ -110,7 +110,7 @@
- name: Clear IPVS virtual server table
shell: "ipvsadm -C"
when:
- kube_proxy_mode == 'ipvs'
- kube_proxy_mode == 'ipvs' and inventory_hostname in groups['k8s-cluster']
- name: reset | check kube-ipvs0 network device
stat: