Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TIDB中PD对外是否有对外暴露集群相关API接口

【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?