Add ipvs support for kubeadm 1.10 or later.
parent
6849788ebc
commit
bdbfa4d403
|
@ -28,6 +28,12 @@ kubeProxy:
|
|||
{% if kube_proxy_mode == 'ipvs' and kube_version | version_compare('v1.10', '<') %}
|
||||
featureGates: SupportIPVSProxyMode=true
|
||||
mode: ipvs
|
||||
{% elif kube_proxy_mode == 'ipvs' %}
|
||||
kubeProxy:
|
||||
config:
|
||||
featureGates:
|
||||
SupportIPVSProxyMode: true
|
||||
mode: ipvs
|
||||
{% endif %}
|
||||
{% if kube_proxy_nodeport_addresses %}
|
||||
nodePortAddresses: [{{ kube_proxy_nodeport_addresses_cidr }}]
|
||||
|
|
Loading…
Reference in New Issue