Skip to content

Commit d23f533

Browse files
authored
Update notes for scaling PD nodes (#19914) (#19924)
1 parent 32ddd24 commit d23f533

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
@@ -132,7 +132,8 @@ pd_servers:
132132

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

@@ -142,10 +143,6 @@ pd_servers:
142143

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

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

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

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

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

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

0 commit comments

Comments
 (0)