单机版k8s 卡在Please wait for the installation to complete: >>—>
单机版k8s 卡在Please wait for the installation to complete: >>—>
·
排查过程
# 查看安装器 ks-installer-757d76f5ff-v7lkv
kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}'
# 查看日志 ,发现
#Warning FailedScheduling 7m17s (x39 over 47m) default-scheduler 0/1 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate
kubectl describe po ks-installer-757d76f5ff-v7lkv -n kubesphere-system
原因分析
当创建单机版的 k8s 时,这个时候 master 节点是默认不允许调度 pod
解决方案
kubectl taint nodes --all node-role.kubernetes.io/master-
参考:https://blog.csdn.net/weixin_43114954/article/details/119153903
更多推荐
已为社区贡献1条内容
所有评论(0)