diff --git a/roles/prepare/templates/95-k8s-sysctl.conf.j2 b/roles/prepare/templates/95-k8s-sysctl.conf.j2 index b1255a8..ff7fefe 100644 --- a/roles/prepare/templates/95-k8s-sysctl.conf.j2 +++ b/roles/prepare/templates/95-k8s-sysctl.conf.j2 @@ -2,8 +2,10 @@ 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 -# +net.ipv4.tcp_tw_recycle=0 +# disable ipv6 +net.ipv6.conf.all.disable_ipv6=1 net.netfilter.nf_conntrack_max=1000000 vm.swappiness = 0 vm.max_map_count=655360 -fs.file-max=655360 +fs.file-max=6553600