mirror of https://github.com/easzlab/kubeasz.git
fix: 设置内核参数95-k8s-sysctl.conf
parent
05a29e36f5
commit
961978869a
|
@ -2,7 +2,9 @@ net.ipv4.ip_forward = 1
|
||||||
net.bridge.bridge-nf-call-iptables = 1
|
net.bridge.bridge-nf-call-iptables = 1
|
||||||
net.bridge.bridge-nf-call-ip6tables = 1
|
net.bridge.bridge-nf-call-ip6tables = 1
|
||||||
net.bridge.bridge-nf-call-arptables = 1
|
net.bridge.bridge-nf-call-arptables = 1
|
||||||
|
{% if ansible_distribution in ["CentOS","RedHat","Amazon"] %}
|
||||||
net.ipv4.tcp_tw_recycle=0
|
net.ipv4.tcp_tw_recycle=0
|
||||||
|
{% endif %}
|
||||||
# disable ipv6
|
# disable ipv6
|
||||||
net.ipv6.conf.all.disable_ipv6=1
|
net.ipv6.conf.all.disable_ipv6=1
|
||||||
net.netfilter.nf_conntrack_max=1000000
|
net.netfilter.nf_conntrack_max=1000000
|
||||||
|
|
Loading…
Reference in New Issue