Skip to content

Commit 48b55ff

Browse files
authored
Update notes for scaling PD nodes (#19914) (#19920)
1 parent 3bcf66e commit 48b55ff

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
```
@@ -350,7 +347,8 @@ tiup cluster scale-in <cluster-name> --node 10.0.1.5:20160
350347

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

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

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

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

0 commit comments

Comments
 (0)