Merge pull request #2598 from chenhonggc/persist_ipvs_module

Persist ip_vs modules
This commit is contained in:
Andreas Krüger 2018-04-05 09:53:47 +02:00 committed by GitHub
commit b5bd959a97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,6 +118,19 @@
tags: tags:
- kube-proxy - kube-proxy
- name: Persist ip_vs modules
copy:
dest: /etc/modules-load.d/kube_proxy-ipvs.conf
content: |
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_sh
nf_conntrack_ipv4
when: kube_proxy_mode == 'ipvs'
tags:
- kube-proxy
- name: Write proxy manifest - name: Write proxy manifest
template: template:
src: manifests/kube-proxy.manifest.j2 src: manifests/kube-proxy.manifest.j2