Browse Source
Merge pull request #2598 from chenhonggc/persist_ipvs_module
Persist ip_vs modules
pull/2607/head
Andreas Krüger
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
13 additions and
0 deletions
-
roles/kubernetes/node/tasks/main.yml
|
|
@ -118,6 +118,19 @@ |
|
|
|
tags: |
|
|
|
- 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 |
|
|
|
template: |
|
|
|
src: manifests/kube-proxy.manifest.j2 |
|
|
|