Browse Source

Persist ip_vs modules

pull/2598/head
Chen Hong 6 years ago
parent
commit
b54e091886
1 changed files with 8 additions and 0 deletions
  1. 8
      roles/kubernetes/node/tasks/main.yml

8
roles/kubernetes/node/tasks/main.yml

@ -118,6 +118,14 @@
tags:
- kube-proxy
- name: Persist ip_vs modules
copy:
dest: /etc/modules-load.d/kube_proxy-ipvs.conf
content: "ip_vs\nip_vs_rr\nip_vs_wrr\nip_vs_sh\nnf_conntrack_ipv4"
when: kube_proxy_mode == 'ipvs'
tags:
- kube-proxy
- name: Write proxy manifest
template:
src: manifests/kube-proxy.manifest.j2

Loading…
Cancel
Save