Support ipvs mode for kube-proxy

Support ipvs mode for kube-proxy
This commit is contained in:
rong.zhang
2018-01-29 13:15:32 +08:00
parent f4180503c8
commit b10c308a5a
5 changed files with 32 additions and 0 deletions

View File

@@ -19,6 +19,12 @@ kubernetesVersion: {{ kube_version }}
{% if cloud_provider is defined and cloud_provider != "gce" %}
cloudProvider: {{ cloud_provider }}
{% endif %}
{% if kube_proxy_mode == 'ipvs' %}
kubeProxy:
config:
featureGates: SupportIPVSProxyMode=true
mode: ipvs
{% endif %}
authorizationModes:
{% for mode in authorization_modes %}
- {{ mode }}