mirror of https://github.com/easzlab/kubeasz.git
fix tcp_tw_recycle settings issue #714
parent
8ae76e6dcf
commit
afbba63337
|
@ -2,7 +2,7 @@ net.ipv4.ip_forward = 1
|
|||
net.bridge.bridge-nf-call-iptables = 1
|
||||
net.bridge.bridge-nf-call-ip6tables = 1
|
||||
net.bridge.bridge-nf-call-arptables = 1
|
||||
{% if ansible_distribution in ["CentOS","RedHat","Amazon"] %}
|
||||
{% if KERNEL_VER|float < 4.12 %}
|
||||
net.ipv4.tcp_tw_recycle = 0
|
||||
{% endif %}
|
||||
net.ipv4.tcp_tw_reuse = 0
|
||||
|
|
Loading…
Reference in New Issue