content: |

This commit is contained in:
Chen Hong 2018-04-04 23:05:27 +08:00
parent b54e091886
commit 973e7372b4

View file

@ -121,7 +121,12 @@
- name: Persist ip_vs modules - name: Persist ip_vs modules
copy: copy:
dest: /etc/modules-load.d/kube_proxy-ipvs.conf dest: /etc/modules-load.d/kube_proxy-ipvs.conf
content: "ip_vs\nip_vs_rr\nip_vs_wrr\nip_vs_sh\nnf_conntrack_ipv4" content: |
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_sh
nf_conntrack_ipv4
when: kube_proxy_mode == 'ipvs' when: kube_proxy_mode == 'ipvs'
tags: tags:
- kube-proxy - kube-proxy