sofastack / sofa-dashboard

Dashboard of SOFAStack.
Apache License 2.0
91 stars 51 forks source link

Hope to add dashboard support for k8s #50

Open forsake0120 opened 4 years ago

forsake0120 commented 4 years ago

目前dashboard对于docker和k8s支持略显薄弱,希望增加:

  1. dashboard对于虚拟端口、虚拟地址的支持(如果sofa_rpc配置了虚拟端口、地址,则dashboard优先显示虚拟地址、虚拟端口)
  2. 如果容器运行于k8s,不同pod上的服务无法在dashboard中展示(我在本地增加了dashboard对虚拟地址、端口的支持,但是尚未增加对podIp的读取,如果不同pod运行于相同主机,就不太好分辨) 不知提议是否合理,烦请评估,谢谢
sofastack-bot[bot] commented 4 years ago

Hi @forsake0120, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

Currently, the support for docker and k8s on the dashboard is slightly weak, and I hope to increase: 1. The dashboard supports virtual ports and virtual addresses (if sofa_rpc is configured with virtual ports and addresses, the dashboard will display the virtual addresses and virtual ports first) In k8s, the services on different pods cannot be displayed in the dashboard (I added the support for the virtual address and port of the dashboard locally, but the podIp has not been added. If different pods run on the same host, it is not easy to distinguish I don't know if the proposal is reasonable, please evaluate it, thank you