Kubernetes仪表板中不可见部署
我已经创建了这样的部署:
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
现在我进入Kubernetes仪表板:
Now I goto the Kubernetes Dashboard:
https://172.0.0.1/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard
但是我在这里看不到my-app
.
But I dont see my-app
listed here.
是否可以使用Kubernetes仪表板查看部署?我想使用仪表板执行诸如查看部署的内存/CPU使用情况,检查日志等
Is it possible to use the Kubernetes Dashboard to view deployments? I'd like to use the dashboard to do things like view the deployments mem/cpu usage, check logs, etc
Kubernetes仪表板目前非常有限,仅支持ReplicationControllers.如果创建了ReplicationController,则将能够看到与其连接的Pod,检查其内存和CPU使用率,并查看其日志.
Kubernetes Dashboard is pretty limited at the moment, and only supports 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.
正在进行改进Dashboard的工作,将来它应该支持ReplicationController之外的其他Kubernetes资源.您可以在 GitHub存储库.
Work is being done to improve Dashboard and in the future it should support other Kubernetes resources besides ReplicationControllers. You can see some mockups in the GitHub repo.