Skip to content

Commit

Permalink
Merge pull request #1106 from tu1h/unrestrict_kubeproxy_mode
Browse files Browse the repository at this point in the history
Unrestrict kubeproxy mode for kubevip playbook
  • Loading branch information
ErikJiang authored Feb 2, 2024
2 parents 617b8a4 + cb18519 commit 3007461
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions playbooks/config-for-kube-vip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3007461

Please sign in to comment.