Skip to content

Commit

Permalink
Update notes for scaling PD nodes (#19914) (#19923)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Feb 27, 2025
1 parent 55d17db commit 5d8f8db
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions scale-tidb-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ pd_servers:

> **注意:**
>
> 该操作仅需在扩容 PD 节点时执行,扩容 TiDB 或 TiKV 节点时无需执行。
> - 刷新集群配置仅适用于扩容 PD 节点,扩容 TiDB 或 TiKV 节点时无需执行此操作。
> - 如果你使用的是 TiUP v1.15.0 或之后版本,请跳过该操作,因为 TiUP 会完成相应操作;如果你使用的是 TiUP v1.15.0 之前的版本,则需执行以下步骤。
1. 更新集群配置:

Expand All @@ -141,10 +142,6 @@ pd_servers:

2. 更新 Prometheus 配置并重启:

> **注意:**
>
> 如果你使用的是 TiUP v1.15.0 及之后版本,请跳过此步骤;如果你使用的 TiUP 版本早于 v1.15.0,则需要执行以下命令来更新 Prometheus 配置并重启。

```shell
tiup cluster reload <cluster-name> -R prometheus
```
Expand Down Expand Up @@ -352,7 +349,8 @@ tiup cluster scale-in <cluster-name> --node 10.0.1.5:20160

> **注意:**
>
> 该操作仅需在缩容 PD 节点时执行,缩容 TiDB 或 TiKV 节点时无需执行。
> - 刷新集群配置仅适用于缩容 PD 节点,缩容 TiDB 或 TiKV 节点时无需执行此操作。
> - 如果你使用的是 TiUP v1.15.0 或之后版本,请跳过该操作,因为 TiUP 会完成相应操作;如果你使用的是 TiUP v1.15.0 之前的版本,则需执行以下步骤。
1. 更新集群配置:

Expand All @@ -362,10 +360,6 @@ tiup cluster scale-in <cluster-name> --node 10.0.1.5:20160

2. 更新 Prometheus 配置并重启:

> **注意:**
>
> 如果你使用的是 TiUP v1.15.0 及之后版本,请跳过此步骤;如果你使用的 TiUP 版本早于 v1.15.0,则需要执行以下命令来更新 Prometheus 配置并重启。

```shell
tiup cluster reload <cluster-name> -R prometheus
```
Expand Down

0 comments on commit 5d8f8db

Please sign in to comment.