我正在关注老师通过访问https://ip-of-container/ui
连接到谷歌容器UI面板的课程,然后他被要求输入密码和用户名。谷歌容器访问UI面板
在我来说,我所看到的是:
User "system:anonymous" cannot get at the cluster scope.: "No policy matched.\nUnknown user \"system:anonymous\""
上github says this此问题:
一种更好的方式通过API访问的UI是运行kubectl代理和 访问http://localhost:8001/ui
我不明白他想说什么。 localhost是机器端点IP的占位符吗?因为我没有服务器运行,它怎么能连接到我的本地主机?
我没跑kubectl proxy
然后,
- 尝试访问
http(s)://container-endpoint-ip:8001/ui
- 这些工作的字面
http://localhost:8001/ui
无。
我只是说,在我的问题 – Ced
@Ced不工作? –
不,它没有工作,因为我没有在本地主机上运行任何东西。 – Ced