Deployments not visible in Kubernetes Dashboard

2019-07-19 03:38发布

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:

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

But I dont see my-app listed here.

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
2条回答
Lonely孤独者°
2楼-- · 2019-07-19 04:36

I'm one of the Dashboard UI maintainers.

Deployments will be shown in the UI in next release (a few weeks from now). 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.

查看更多
虎瘦雄心在
3楼-- · 2019-07-19 04:40

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.

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.

查看更多
登录 后发表回答