Skip to content

Commit 5d3a059

Browse files
authored
Update notes for scaling PD nodes (#19914)
1 parent 4960d0b commit 5d3a059

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

scale-tidb-using-tiup.md

+4-10
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ pd_servers:
133133

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

@@ -143,10 +144,6 @@ pd_servers:
143144

144145
2. 更新 Prometheus 配置并重启:
145146

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

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

@@ -361,10 +359,6 @@ tiup cluster scale-in <cluster-name> --node 10.0.1.5:20160
361359

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

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

0 commit comments

Comments
 (0)