- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 kubectl get nodes 执行错误:The connection to the server localhost:8080 was refused - did you specify the
一、出现的问题 [root@centos02 kubernetes]# kubectl get nodes The connection to the server localhost:8080 was refused - did you specify the right host or port? 二、解决办法 1.查看是否有"/etc/kubernetes/admin.conf"文件。如果没有则从主节点复制到本机环境 scp -r root@192.168.88.5:/etc/kubernete
2022-01-01 20:08:15
3138
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人