在裸机Kubernetes集群设置上访问Kubernetes仪表板时出错

时间:2018-09-19 10:10:47

标签: kubernetes kubectl

我已经使用以下命令在裸机设置上部署了Kubernetes仪表板:

kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml

然后,我在链接https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#deploying-the-dashboard-ui上提到的工作节点上执行了以下命令

kubectl proxy

现在,我在工作节点上打开的浏览器窗口中输入地址http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/。我收到该地址的连接被拒绝消息,并且在工作节点上启动的代理上显示以下错误消息

I0919 15:25:44.138645   23690 logs.go:41] http: proxy error: dial tcp [::1]:8080: connect: connection refused

此设置可能是什么问题?

0 个答案:

没有答案
相关问题