kuboard-spray
kuboard-spray copied to clipboard
[kernel parameter] 部署时报sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directory
kuboard spray 在部署时,对主机的内核有什么要求么?
我在官网没有看到相关的说明 我的主机内核情况:
# uname -r
5.4.167-1.el7.elrepo.x86_64
按照报错尝试添加参数,还是不行
# cat /etc/sysctl.d/k8s.conf
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
fs.may_detach_mounts = 1
vm.overcommit_memory = 1
vm.panic_on_oom = 0
fs.inotify.max_user_watches = 89100
fs.file-max = 52706963
fs.nr_open = 52706963
net.netfilter.nf_conntrack_max = 2310720
net.ipv4.tcp_keepalive_time = 600
net.ipv4.tcp_keepalive_probes = 3
net.ipv4.tcp_keepalive_intvl = 15
net.ipv4.tcp_max_tw_buckets = 36000
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_max_orphans = 327680
net.ipv4.tcp_orphan_retries = 3
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 16384
net.ipv4.ip_conntrack_max = 65536
net.ipv4.tcp_timestamps = 0
net.core.somaxconn = 16384
net.ipv4.tcp_tw_recycle = 1