Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 使用docker部署tidb-dashboard访问非k8s集群的两个小问题

【TiDB Usage Environment】Poc
【TiDB Version】v6.5.0
Currently, the K8s version already supports independent deployment of tidb-dashboard, but TiUP does not yet support standalone deployment. It appears that the image used is pingcap/tidb-dashboard:v6.5.0. After attempting to deploy it on a local physical machine, I found that 90% of the functions are usable. The only issues discovered so far are:
-
When running, you need to add
--privileged
otherwise it will report an errorruntime/cgo: pthread_create failed: Operation not permitted
, causing the container to fail to start. (This should be avoidable through other means) -
No data can be retrieved in the traffic visualization tab (this is likely because the interface call was missed after independent deployment, and it did not fetch from pd)
PS: Desperately hoping TiUP will support independent deployment of tidb-dashboard…