Allow to configure strict ARP on kube-proxy (#5092)

This commit is contained in:
Tony Fouchard 2019-08-21 03:21:17 +02:00 committed by Kubernetes Prow Robot
parent 86cc703c75
commit f6a63d88a7
3 changed files with 8 additions and 0 deletions

View file

@ -80,6 +80,8 @@ kube_proxy_exclude_cidrs: []
# nq: never queue
kube_proxy_scheduler: rr
kube_proxy_strict_arp: false
# The IP address and port for the metrics server to serve on
# (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces)
kube_proxy_metrics_bind_address: 127.0.0.1:10249

View file

@ -322,6 +322,9 @@ ipvs:
minSyncPeriod: {{ kube_proxy_min_sync_period }}
scheduler: {{ kube_proxy_scheduler }}
syncPeriod: {{ kube_proxy_sync_period }}
{% if kube_version is version('v1.14.2', '>=') %}
strictARP: {{ kube_proxy_strict_arp }}
{% endif %}
metricsBindAddress: {{ kube_proxy_metrics_bind_address }}
mode: {{ kube_proxy_mode }}
nodePortAddresses: {{ kube_proxy_nodeport_addresses }}

View file

@ -324,6 +324,9 @@ ipvs:
minSyncPeriod: {{ kube_proxy_min_sync_period }}
scheduler: {{ kube_proxy_scheduler }}
syncPeriod: {{ kube_proxy_sync_period }}
{% if kube_version is version('v1.14.2', '>=') %}
strictARP: {{ kube_proxy_strict_arp }}
{% endif %}
metricsBindAddress: {{ kube_proxy_metrics_bind_address }}
mode: {{ kube_proxy_mode }}
nodePortAddresses: {{ kube_proxy_nodeport_addresses }}