Add ipvs support for kubeadm 1.10 or later.
This commit is contained in:
parent
6849788ebc
commit
bdbfa4d403
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue