Fix error with ipvs on cluster reset task (#3848)
This commit is contained in:
parent
c04e8b57b9
commit
951e4675c6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue