add ipvs配置打开strictARP #1298

pull/1307/head
gjmzj 2023-08-01 18:58:57 +08:00
parent b99b744e68
commit 70dd0ef8e1
2 changed files with 14 additions and 0 deletions

View File

@ -15,3 +15,14 @@ healthzBindAddress: 0.0.0.0:10256
hostnameOverride: "{{ K8S_NODENAME }}"
metricsBindAddress: 0.0.0.0:10249
mode: "{{ PROXY_MODE }}"
{% if PROXY_MODE == "ipvs" %}
ipvs:
excludeCIDRs: null
minSyncPeriod: 0s
scheduler: ""
strictARP: {{ ENABLE_IPVS_STRICT_ARP }}
syncPeriod: 30s
tcpFinTimeout: 0s
tcpTimeout: 0s
udpTimeout: 0s
{% endif %}

View File

@ -9,3 +9,6 @@ CLUSTER_DNS_SVC_IP: "{{ SERVICE_CIDR.split('.')[0] }}.{{ SERVICE_CIDR.split('.')
# pod-max-pids
POD_MAX_PIDS: 1024
# Enable strict ARP by setting arp_ignore to 1 and arp_announce to 2
ENABLE_IPVS_STRICT_ARP: false