【发布时间】:2017-07-05 21:25:15
【问题描述】:
我正在学习一门课程,教师通过访问https://ip-of-container/ui 连接到谷歌容器 ui 面板,然后要求他输入密码和用户名。
就我而言,我看到的是:
User "system:anonymous" cannot get at the cluster scope.: "No policy matched.\nUnknown user \"system:anonymous\""
github says this上的这个问题:
通过 API 访问 UI 的更好方法是运行 kubectl proxy 和 访问http://localhost:8001/ui
我不明白他想说什么。 localhost 是机器端点 ip 的占位符吗?由于我没有运行服务器,它如何连接到我的本地主机?
然后我确实运行了kubectl proxy,
- 尝试访问
http(s)://container-endpoint-ip:8001/ui - 字面意思是
http://localhost:8001/ui
这些都不起作用。
【问题讨论】:
标签: kubernetes google-compute-engine gcloud google-kubernetes-engine