操作系统信息
阿里云ECS,CentOS 7.6 64bit,8C/16G
Kubernetes版本信息
v1.17.9
容器运行时
将 docker version
/ crictl version
/ nerdctl version
结果贴在下方
[root@master1 ks_deploy]# docker version
Client:
Version: 18.09.7
API version: 1.39
Go version: go1.10.8
Git commit: 2d0083d
Built: Thu Jun 27 17:56:06 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 18.09.7
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: 2d0083d
Built: Thu Jun 27 17:26:28 2019
OS/Arch: linux/amd64
Experimental: false
[root@master1 ks_deploy]# crictl version
-bash: crictl: command not found
[root@master1 ks_deploy]# nerdctl version
-bash: nerdctl: command not found
KubeSphere版本信息
KubeSphere 版本 : v3.1.1。在线安装。使用kk安装。
问题是什么
使用kk添加新节点超时,命令:./kk add nodes -f config-sample.yaml
报错日志如下:
……
fs.inotify.max_user_instances = 524288
[node12 10.109.119.200] MSG:
vm.swappiness = 1
net.ipv4.neigh.default.gc_stale_time = 120
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.default.arp_announce = 2
net.ipv4.conf.lo.arp_announce = 2
net.ipv4.conf.all.arp_announce = 2
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 1024
net.ipv4.tcp_synack_retries = 2
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
kernel.sysrq = 1
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-arptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_local_reserved_ports = 30000-32767
vm.max_map_count = 262144
fs.inotify.max_user_instances = 524288
FATA[01:05:32 CST] Execute task timeout, Timeout=120s
[root@master1 ks_deploy]#