简体   繁体   English

如何在Azure集群上打开Kubernetes仪表板?

[英]How to open kubernetes dashboard on azure cluster?

I have installed the kubernetes cluster on azure using the link " https://koukia.ca/running-windows-containers-on-kubernetes-cluster-on-azure-container-service-99e8de0d9cf4 ".But Im not able to access the dashboard on the " http://127.0.0.1/ui ".Can you please explain me about this error? 我已经使用链接“ https://koukia.ca/running-windows-containers-on-kubernetes-cluster-on-azure-container-service-99e8de0d9cf4 ”在azure上安装了kubernetes集群。但是我无法访问“ http://127.0.0.1/ui ”上的控制面板。能否请您向我解释此错误? Am i missing anything ? 我有什么想念的吗?

Appreciate your help on this. 感谢您的帮助。

Thanks 谢谢

You can follow this article to browse the k8s UI in Azure. 您可以按照本文来浏览Azure中的k8s UI。

After you run this command az acs kubernetes browse -g [Resource Group] -n [Container service instance name] , this should open a web browser configured to talk to a secure proxy connecting your local machine to the Kubernetes web UI. 在运行此命令az acs kubernetes browse -g [Resource Group] -n [Container service instance name] ,这应该打开配置为与将本地计算机连接到Kubernetes Web UI的安全代理进行通信的Web浏览器。

That showed a blank page, like this: 那显示了一个空白页,像这样:

在此处输入图片说明

There are something wrong with the redirected, it should redirected to: 重定向存在问题,应重定向至:

http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/

Please note that trailing /. 请注意尾随/。

Also you can use http://127.0.0.1:8001/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard/ to access it. 您也可以使用http://127.0.0.1:8001/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard/进行访问。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM