kk安装一直卡在这里一个多小时了
Please wait for the installation to complete: >>—>
simons 这里k8s已经安装好了,ks还没有起来。可以使用命令查看ks相关组件的状态
kubectl get po -A kubectl describe po openebs-xxxxx -n kube-system kubectl describe po ks-installer-xxxx -n kubesphere-system
相关问题:https://kubesphere.com.cn/forum/d/7321-kubesphere-allinone/15
24sama
24sama 我也出现了卡住的问题
24sama 执行 kubectl describe po ks-installer-xxxx -n kubesphere-system
simons 检查ks-installer命令
kubectl describe po ks-installer-xxxx -n kubesphere-system
然后看日志应该是拉取镜像失败了,可以执行上面命令检查一下
如果是网络访问dockerhub比较困难,可以先执行export KKZONE=cn,然后再执行创建集群的命令
export KKZONE=cn
执行过export KKZONE=cn
ks-installer换了一个版本可以了,然后看日志里面有这个错误
24sama 执行 kubectl describe po ks-installer-xxxx -n kubesphere-system 的结果
simons
又来了 😀
simons 可以用kubectl logs 查看prometheus pod中的容器日志,检查为啥挂掉了
JasonBourne33 执行kubectl logs -f ks-install-xxx -n kubesphere-system看看
24sama 执行
kubectl logs -f ks-installer-769994b6ff-vw7f9 -n kubesphere-system
24sama 我重装了centos7.9 ,再create,现在成这样了
JasonBourne33 看着像是有最后一下result没有收集到。可以尝试重启一下ks-installer的pod,让他重新跑一遍。然后用刚刚到kubectl logs命令观察结果。
JasonBourne33 再用上面的命令查看一下结果
24sama 执行kubectl logs -f ks-installer-769994b6ff-k5lf4 -n kubesphere-system
24sama 用kk安装对硬件有要求吗?我用的是虚拟机
JasonBourne33 可能是因为你的虚拟机的内存比较小