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
|
- name: Clear IPVS virtual server table
|
||||||
shell: "ipvsadm -C"
|
shell: "ipvsadm -C"
|
||||||
when:
|
when:
|
||||||
- kube_proxy_mode == 'ipvs'
|
- kube_proxy_mode == 'ipvs' and inventory_hostname in groups['k8s-cluster']
|
||||||
|
|
||||||
- name: reset | check kube-ipvs0 network device
|
- name: reset | check kube-ipvs0 network device
|
||||||
stat:
|
stat:
|
||||||
|
|
Loading…
Reference in a new issue