阿里云安装kubernetes-UI报错endpoints \"kubernetes-dashboard\" not found解决方法

问题:阿里云ECS安装kube-ui v5后,访问 http://master_ip:8080/ui/跳转到http://master_ip:8080/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard报错如下:

解决方法1:

把跳转地址http://master_ip:8080/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard修改为http://master_ip:8080/api/v1/proxy/namespaces/kube-system/services/kube-ui/#/dashboard/

解决方法2:

将kube-ui-rc.yaml和kube-ui-svc.yaml文件里k8s-app: kube-ui改成k8s-app: kubernetes-dashboard,然后再执行创建rc和service命令

 

参考资料

https://stackoverflow.com/questions/37324031/kubernetes-dashboard-is-not-found
https://github.com/kubernetes/kubernetes/issues/11684
posted on 2017-10-10 11:18  力奋  阅读(2775)  评论(0编辑  收藏  举报