google-容器访问 ui 面板
google-container access the ui panel
我正在学习一门课程,其中老师通过访问 https://ip-of-container/ui
连接到 google 容器 ui 面板,然后要求他输入密码和用户名。
就我而言,我看到的是:
User "system:anonymous" cannot get at the cluster scope.: "No policy matched.\nUnknown user \"system:anonymous\""
github says this 这个问题:
A better way to access the UI via the API is to run kubectl proxy and
access http://localhost:8001/ui
我不明白他想说什么。 localhost 是机器端点 ip 的占位符吗?由于我没有服务器 运行ning ,它如何连接到我的本地主机?
我做了 运行 kubectl proxy
然后
- 尝试访问
http(s)://container-endpoint-ip:8001/ui
- 字面意思
http://localhost:8001/ui
None 这些工作。
尝试 运行 kubectl proxy
并打开 http://localhost:8001/ui。
我是 运行 网站控制台上的命令。这就是为什么它说要连接到 localhost
对我来说毫无意义。老实说,这是模棱两可的,到目前为止我只使用了网站上的控制台,忘记了我可以直接在本地机器上做事..
如果您使用的是 GKE,则可以在 https://console.cloud.google.com/kubernetes/workload 上访问 UI。它具有与 OSS UI 相似的功能,您可以从任何机器访问它,而不仅仅是本地主机。
我正在学习一门课程,其中老师通过访问 https://ip-of-container/ui
连接到 google 容器 ui 面板,然后要求他输入密码和用户名。
就我而言,我看到的是:
User "system:anonymous" cannot get at the cluster scope.: "No policy matched.\nUnknown user \"system:anonymous\""
github says this 这个问题:
A better way to access the UI via the API is to run kubectl proxy and access http://localhost:8001/ui
我不明白他想说什么。 localhost 是机器端点 ip 的占位符吗?由于我没有服务器 运行ning ,它如何连接到我的本地主机?
我做了 运行 kubectl proxy
然后
- 尝试访问
http(s)://container-endpoint-ip:8001/ui
- 字面意思
http://localhost:8001/ui
None 这些工作。
尝试 运行 kubectl proxy
并打开 http://localhost:8001/ui。
我是 运行 网站控制台上的命令。这就是为什么它说要连接到 localhost
对我来说毫无意义。老实说,这是模棱两可的,到目前为止我只使用了网站上的控制台,忘记了我可以直接在本地机器上做事..
如果您使用的是 GKE,则可以在 https://console.cloud.google.com/kubernetes/workload 上访问 UI。它具有与 OSS UI 相似的功能,您可以从任何机器访问它,而不仅仅是本地主机。