Skip to content

Commit c8487ad

Browse files
authored
Update notes for scaling PD nodes (#20379) (#20385)
1 parent a7e0579 commit c8487ad

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
@@ -130,7 +130,8 @@ This section exemplifies how to add a TiDB node to the `10.0.1.5` host.
130130

131131
> **Note:**
132132
>
133-
> This operation is only required after you add PD nodes. If you only add TiDB or TiKV nodes, this operation is unnecessary.
133+
> - Refreshing cluster configuration is only required after you add PD nodes. If you only add TiDB or TiKV nodes, skip this step.
134+
> - If you are using TiUP v1.15.0 or a later version, skip this step because TiUP does it. If you are using a TiUP version earlier than v1.15.0, perform the following sub-steps.
134135

135136
1. Refresh the cluster configuration:
136137

@@ -140,10 +141,6 @@ This section exemplifies how to add a TiDB node to the `10.0.1.5` host.
140141

141142
2. Refresh the Prometheus configuration and restart Prometheus:
142143

143-
> **Note:**
144-
>
145-
> If you are using TiUP v1.15.0 or a later version, skip this step. If you are using a TiUP version earlier than v1.15.0, execute the following command to update the Prometheus configuration and restart Prometheus.
146-
147144
```shell
148145
tiup cluster reload <cluster-name> -R prometheus
149146
```
@@ -332,7 +329,8 @@ This section exemplifies how to remove a TiKV node from the `10.0.1.5` host.
332329
333330
> **Note:**
334331
>
335-
> This operation is only required after you remove PD nodes. If you only remove TiDB or TiKV nodes, this operation is unnecessary.
332+
> - Refreshing cluster configuration is only required after you remove PD nodes. If you only remove TiDB or TiKV nodes, skip this step.
333+
> - If you are using TiUP v1.15.0 or a later version, skip this step because TiUP does it. If you are using a TiUP version earlier than v1.15.0, perform the following sub-steps.
336334
337335
1. Refresh the cluster configuration:
338336
@@ -342,10 +340,6 @@ This section exemplifies how to remove a TiKV node from the `10.0.1.5` host.
342340
343341
2. Refresh the Prometheus configuration and restart Prometheus:
344342
345-
> **Note:**
346-
>
347-
> If you are using TiUP v1.15.0 or a later version, skip this step. If you are using a TiUP version earlier than v1.15.0, execute the following command to update the Prometheus configuration and restart Prometheus.
348-
349343
```shell
350344
tiup cluster reload <cluster-name> -R prometheus
351345
```

0 commit comments

Comments
 (0)