找不到kubernetes仪表板

找不到kubernetes仪表板,kubernetes,Kubernetes,你遇到的是一个10点的ip,它只能在你的集群中路由,所以我假设你正在从一个节点卷曲这个url 请调试服务并报告失败的原因:,我猜kubectl--namespace=kube-system-get-ep-kube-ui没有显示任何内容 你部署了吗 Kubernetes UI是一个插件。你可以在Ubuntu中创建它,点击这个链接 在部署插件部分 dashboard-controller.yaml dashboard-service.yaml standard configure file 。。


你遇到的是一个10点的ip,它只能在你的集群中路由,所以我假设你正在从一个节点卷曲这个url

请调试服务并报告失败的原因:,我猜
kubectl--namespace=kube-system-get-ep-kube-ui
没有显示任何内容

你部署了吗

Kubernetes UI是一个插件。你可以在Ubuntu中创建它,点击这个链接 在部署插件部分

dashboard-controller.yaml
dashboard-service.yaml

standard configure file

。。。
 kubernetes.io/cluster-service: "true"
    spec:
      containers:
      - name: kubernetes-dashboard
        #image: gcr.io/google_containers/kube-ui:v3
        **image: index.tenxcloud.com/google_containers/kubernetes-dashboard-amd64:v1.0.1**
        resources:
。。。
运行和测试后日志信息,如

[root@test-ops-node1 pods]# kubectl logs kubernetes-dashboard-v1.0.1-mhz6w --namespace=kube-system
2016/05/20 08:54:10 Starting HTTP server on port 9090
2016/05/20 08:54:10 Creating API server client for http://localhost:8080
2016/05/20 08:54:10 Creating in-cluster Heapster client
2016/05/20 09:09:56 Incoming HTTP/1.1 GET /api/v1/replicationcontrollers request from 172.17.80.0:39277
2016/05/20 09:09:56 Getting list of all replication controllers in the cluster
2016/05/20 09:09:56 Get http://localhost:8080/api/v1/replicationcontrollers: dial tcp [::1]:8080: getsockopt: connection refused
2016/05/20 09:09:56 Outcoming response to 172.17.80.0:39277 with 500 status code

在更新版本的kubernetes中,dashboard是kube-ui的替代解决方案。使用名为
kube ui
的端点可能会导致
端点\“kube ui\”未找到
(404)。要解决此问题,可以选择名为
kubernetes dashboard
的新端点。有关详细信息,请参阅:

总之,如果您使用kube ui(示例:v3),自动重定向可能不正确,并且由于资源的卸载而出现404错误。
祝你好运

是你创造的吗?您需要使用YMLW创建它您做了什么来尝试找出哪里出了问题[root@test-ops-node1吊舱]#kubernetes-dashboard-v1.0.1-mhz6w 1/1运行0 8m kubernetes-dashboard-v1.0.1-pylco 1/1运行0 14m“kubectl-namespace=kube系统获取ep kube ui”服务器错误:端点“kube ui”找不到
[root@test-ops-node1 pods]# kubectl logs kubernetes-dashboard-v1.0.1-mhz6w --namespace=kube-system
2016/05/20 08:54:10 Starting HTTP server on port 9090
2016/05/20 08:54:10 Creating API server client for http://localhost:8080
2016/05/20 08:54:10 Creating in-cluster Heapster client
2016/05/20 09:09:56 Incoming HTTP/1.1 GET /api/v1/replicationcontrollers request from 172.17.80.0:39277
2016/05/20 09:09:56 Getting list of all replication controllers in the cluster
2016/05/20 09:09:56 Get http://localhost:8080/api/v1/replicationcontrollers: dial tcp [::1]:8080: getsockopt: connection refused
2016/05/20 09:09:56 Outcoming response to 172.17.80.0:39277 with 500 status code