创建了一个kubernetes集群。
安装仪表板时使用:
kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/kubernetes-dashboard/v1.6.3.yaml版本
kubectl version给予:
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"6e937839ac04a38cac63e6a7a306c5d035fe7b0a", GitTreeState:"clean", BuildDate:"2017-09-28T22:57:57Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.4", GitCommit:"793658f2d7ca7f064d2bdf606519f9fe1229c381", GitTreeState:"clean", BuildDate:"2017-08-17T08:30:51Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}浏览到:
给予:
错误:“格式错误的HTTP响应”\x15\x03\x01\x00\x02\x02“试图到达:'http://100.x.x.x:8443/‘
我应该如何访问仪表板?
发布于 2017-10-29 10:43:35
新版本的仪表板不能在短/ui路径下正常工作。您需要使用丑陋的/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/代替。
详细信息请查看官方网站。https://github.com/kubernetes/dashboard
https://serverfault.com/questions/877949
复制相似问题