阿里云安装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命令
参考资料
kubernetes 安装配置 kube-ui http://wixb50.github.io/1/01/01/kubernetes-%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE-kube-ui/