Skip to content

Commit b77ef50

Browse files
authored
Update notes for scaling PD nodes (#19914) (#19921)
1 parent b98b9d4 commit b77ef50

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

scale-tidb-using-tiup.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ pd_servers:
131131

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

@@ -141,10 +142,6 @@ pd_servers:
141142

142143
2. 更新 Prometheus 配置并重启:
143144

144-
> **注意:**
145-
>
146-
> 如果你使用的是 TiUP v1.15.0 及之后版本,请跳过此步骤;如果你使用的 TiUP 版本早于 v1.15.0,则需要执行以下命令来更新 Prometheus 配置并重启。
147-
148145
```shell
149146
tiup cluster reload <cluster-name> -R prometheus
150147
```
@@ -352,7 +349,8 @@ tiup cluster scale-in <cluster-name> --node 10.0.1.5:20160
352349

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

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

363361
2. 更新 Prometheus 配置并重启:
364362

365-
> **注意:**
366-
>
367-
> 如果你使用的是 TiUP v1.15.0 及之后版本,请跳过此步骤;如果你使用的 TiUP 版本早于 v1.15.0,则需要执行以下命令来更新 Prometheus 配置并重启。
368-
369363
```shell
370364
tiup cluster reload <cluster-name> -R prometheus
371365
```

0 commit comments

Comments
 (0)