简体   繁体   English

部署在Kubernetes仪表板中不可见

[英]Deployments not visible in Kubernetes Dashboard

I've created a deployment like this: 我已经创建了这样的部署:

kubectl run my-app --image=ecr.us-east-1.amazonaws.com/my-app:v1 -l name=my-app --replicas=1

Now I goto the Kubernetes Dashboard: 现在我转到Kubernetes仪表板:

https://172.0.0.1/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard

But I dont see my-app listed here. 但我没看到这里列出my-app

Is it possible to use the Kubernetes Dashboard to view deployments? 是否可以使用Kubernetes仪表板查看部署? I'd like to use the dashboard to do things like view the deployments mem/cpu usage, check logs, etc 我想使用仪表板来查看部署mem / cpu使用情况,检查日志等

Kubernetes Dashboard is pretty limited at the moment, and only supports ReplicationControllers. Kubernetes Dashboard目前非常有限,只支持ReplicationControllers。 If you create a ReplicationController then you will be able to see the Pods connected to it, check their memory and CPU usage, and view their logs. 如果您创建了一个ReplicationController,那么您将能够看到连接到它的Pod,检查它们的内存和CPU使用情况,并查看它们的日志。

Work is being done to improve Dashboard and in the future it should support other Kubernetes resources besides ReplicationControllers. 正在努力改进仪表板,并且将来它应该支持除ReplicationControllers之外的其他Kubernetes资源。 You can see some mockups in the GitHub repo . 您可以在GitHub仓库中看到一些模型。

I'm one of the Dashboard UI maintainers. 我是Dashboard UI维护者之一。

Deployments will be shown in the UI in next release (a few weeks from now). 部署将在下一版本的UI中显示(从现在开始几周)。 I'm sorry this wasn't done before, but we had tight schedule. 对不起,以前没做过,但我们的日程安排得很紧。 If you want to test the features sooner, use v1.1.0-beta2 version of the UI which will be released next week. 如果您想尽快测试这些功能,请使用将于下周发布的UI的v1.1.0-beta2版本。

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

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