Merge pull request #2201 from riverzhang/ipvs

Support ipvs mode for kube-proxy
This commit is contained in:
Chad Swenson
2018-02-01 22:29:52 -06:00
committed by GitHub
5 changed files with 32 additions and 0 deletions

View File

@@ -104,6 +104,20 @@
- net.bridge.bridge-nf-call-arptables
- net.bridge.bridge-nf-call-ip6tables
- name: Modprode Kernel Module for IPVS
modprobe:
name: "{{ item }}"
state: present
when: kube_proxy_mode == 'ipvs'
with_items:
- ip_vs
- ip_vs_rr
- ip_vs_wrr
- ip_vs_sh
- nf_conntrack_ipv4
tags:
- kube-proxy
- name: Write proxy manifest
template:
src: manifests/kube-proxy.manifest.j2