Does PD in TiDB expose cluster-related API interfaces externally?

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

Original topic: TIDB中PD对外是否有对外暴露集群相关API接口

| username: residentevil

【TiDB Usage Environment】Production Environment
【TiDB Version】V6.5.8
【Encountered Problem: Phenomenon and Impact】 If there are many TiDB clusters, and a single node fails (e.g., TiKV, PD, TiDB), it requires repairing the cluster, adding corresponding nodes, and removing the faulty nodes. These operations are quite labor-intensive with tiup and are difficult to encapsulate into the management platform. I wanted to look at the tiup tool source code, but time is tight. Is there anyone who is familiar with the API interfaces called by the tiup tool?

| username: tidb菜鸟一只 | Original post link

You can perform the online and offline operations of TiKV nodes through the open API interface of PD. For specific documentation, see here: Placement Driver API documentation (pingcap.com)

| username: residentevil | Original post link

I’ll first read through the link provided by the expert. Thank you very much.

| username: system | Original post link

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