IT咨询服务虚拟机双网卡

kubectl cluster-info查看集群信息报错

执行命令kubectl cluster-info报错:To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.The connection to the server localhost:8080 was refused - did you specify the right host or port?网上都是 围绕/etc/kubernetes/admin.conf这...显示全部

执行命令kubectl cluster-info报错:
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
The connection to the server localhost:8080 was refused - did you specify the right host or port?
网上都是 围绕/etc/kubernetes/admin.conf这个文件来的,可是我的集群这个路径下没有 admin.conf 文件

备注:三台集群kube-apiserver服务状态都是正常running的

收起
参与2

返回AixTester的回答

AixTesterAixTester系统分析师江南烟雨
[此回答已删除]
浏览1001

回答者

AixTester
系统分析师江南烟雨
擅长领域: 云计算容器云Kubernetes

AixTester 最近回答过的问题

回答状态

  • 发布时间:2020-09-04
  • 关注会员:1 人
  • 回答浏览:1001
  • X社区推广