简体   繁体   English

Google Cloud将Kubernetes公开给浏览器

[英]Google Cloud Expose Kubernetes to Browser

I have the latest 1.6.4 Kubernetes installed on my GCP cluster but cannot figure out how to expose it on an IP Address. 我在我的GCP集群上安装了最新的1.6.4 Kubernetes,但无法弄清楚如何在IP地址上公开它。 How do I make it so that I don't need shell access and instead can access kubernetes in the browser. 我如何做到这一点,这样我就不需要shell访问,而可以在浏览器中访问kubernetes。

From https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#command-line-proxy : https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#command-line-proxy

You can enable the access using kubectl proxy . 您可以使用kubectl proxy启用访问。 Then it should be available in your local machine. 然后它应该在本地计算机上可用。

Another option would be accessing the Master server if you want it available in a specific IP address. 如果您希望主服务器在特定的IP地址中可用,则另一个选择是访问主服务器。

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

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