kubesphere安装过程超时报错failed:[xxxx] execute task timeout, Timeout=7200000000000
网上搜了好多方法都没用,整整折腾了两天时间
起初通过命令
kubectl get pod -A -o wide
查看没有任何问题,pod都起来了,但kubesphere还是一直显示please wait for the installation to complete
然后使用命令挨个查看pod
kubectl describe pod xxx -n namespace
发现都没有问题,网上搜了一大堆方法都没用,通过命令
kubectl logs -f ks-installer-7795f5cf6-7465p -n kubesphere-system
查看安装过程,发现nfs一直不断重启,网上没搜到解决方法,
最后想到通过命令
df -h
free -h
查看内存使用情况,才发现内存不够了,我淦
虚拟机就配了4g内存,但kubesphere部署起来,尽量推荐8g以上
所以重新更换虚拟机内存设置在了10g
部署成功!