不能访问集群
The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port? 找不到命令可以重启它
[root@master bin]# ps -ef | grep kube-apiserver root 4883 3189 0 21:45 pts/1 00:00:00 grep --color=auto kube-apiserver
[root@master bin]# sudo systemctl start kube-apiserver Failed to start kube-apiserver.service: Unit not found.
[root@master bin]# kube-apiserver -bash: kube-apiserver: command not found
这也太不稳定了,跑着跑着 API server就没了
[root@master ~]# kubectl get pods -A The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port? [root@master ~]# The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port?
我的是虚拟机硬盘配置20G, 安装了一直没有api-server, 重新调整到50G, 一次性成功.
我也是这个问题 你解决了吗
你好,解决这个问题了吗?我是在离线的arm架构的银河麒麟V10上装的,虚拟机一重启就所有的容器消失了,报这个错。
你好,解决这个问题了吗?我是在离线的arm架构的银河麒麟V10上装的,虚拟机一重启就所有的容器消失了,报这个错。
禁用swap分区就好了,我新安装了虚拟机,分区的时候不分swap分区,安装之后,重启虚拟机,集群正常启动,就不报这个错了