How to disable TiDB Dashboard auto-start?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 如何禁用tidb dashboard 自启动?

| username: ShawnYan

[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.

| username: hey-hoho | Original post link

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:

| username: Jellybean | Original post link

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.

| username: redgame | Original post link

There are no specific parameters to disable it, but you can use a firewall or change the port…

| username: YuchongXU | Original post link

Not supported.

| username: ShawnYan | Original post link

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.

| username: ShawnYan | Original post link

Regarding this issue,

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.

| username: ShawnYan | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.