集体再理论过程中踩坑后的Kubernetes worknode的内核参数调整,仅供参考
▶ cat etcsecuritylimits.conf* soft nofile 100000* hard nofile 100000▶ cat etcsysctl.dkubernetes.conf net.bridge.bridge-nf-call-iptables = 1net.bridge.bridge-nf-call-ip6tables = 1net.ipv4.ip_forward = 1net.ipv4.tcp_tw_recycle = 0vm.swappiness = 0vm.overcommit_memory = 1vm.panic_on_oom = 0fs.inotify.max_user_instances = 8192fs.inotify.max_user_watches = 1048576fs.file-max = 52706963fs.nr_open = 52706963net.ipv6.conf.all.disable_ipv6 = 1net.netfilter.nf_conntrack_max = 2310720net.ipv4.ip_nonlocal_bind = 1net.nf_conntrack_max = 1048576net.ipv4.tcp_max_syn_backlog = 8096