mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
Merge pull request #2201 from riverzhang/ipvs
Support ipvs mode for kube-proxy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user