[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots / Logs / Monitoring]
When starting pd, the UI is automatically started by default. How can I disable it so that it does not start by default? I couldn’t find the relevant configuration in the parameters.
I briefly reviewed the code. The startup logic of the Dashboard is hardcoded into the PD startup process and cannot be controlled separately. For reference:
What is your motivation for raising this question? Actually, the resources occupied by the startup and operation of the Dashboard should be relatively low, right? I’m curious about the scenario where you disable the startup.
Thank you. I wanted to look at the code yesterday but didn’t have time to turn on the computer. The code allows disabling it, but it’s not as convenient as using configuration parameters.
After changing the password and restarting, there was a connection access denial. I wanted to rule out the Dashboard option, which is why I raised this question.
But it has nothing to do with the Dashboard; it’s a bug in the playground itself.
Additionally, if it can be controlled, the Dashboard can be deployed separately elsewhere, without being forced to bind with PD.