From cb18519cec5aec8140b92396dfddf6f679d5bff6 Mon Sep 17 00:00:00 2001 From: tu1h Date: Fri, 2 Feb 2024 15:25:20 +0800 Subject: [PATCH] Unrestrict kubeproxy mode for kubevip playbook Signed-off-by: tu1h --- playbooks/config-for-kube-vip.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playbooks/config-for-kube-vip.yml b/playbooks/config-for-kube-vip.yml index 971652717..77a34d5b2 100644 --- a/playbooks/config-for-kube-vip.yml +++ b/playbooks/config-for-kube-vip.yml @@ -56,9 +56,7 @@ sysctl_file: "{{ sysctl_file_path | default('/etc/sysctl.d/99-sysctl.conf') }}" state: present reload: true - when: - - kube_proxy_mode == 'ipvs' - - kube_vip_enabled and kube_vip_lb_fwdmethod == "masquerade" + when: kube_vip_enabled and kube_vip_lb_fwdmethod == "masquerade" - name: Persistent iptables rules ansible.builtin.copy: