Skip to content

Commit

Permalink
Update notes for scaling PD nodes (#20379) (#20386)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Feb 27, 2025
1 parent 698c767 commit 1e4a33d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions scale-tidb-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ This section exemplifies how to add a TiDB node to the `10.0.1.5` host.

> **Note:**
>
> This operation is only required after you add PD nodes. If you only add TiDB or TiKV nodes, this operation is unnecessary.
> - Refreshing cluster configuration is only required after you add PD nodes. If you only add TiDB or TiKV nodes, skip this step.
> - 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.

1. Refresh the cluster configuration:

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

2. Refresh the Prometheus configuration and restart Prometheus:

> **Note:**
>
> 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.

```shell
tiup cluster reload <cluster-name> -R prometheus
```
Expand Down Expand Up @@ -332,7 +329,8 @@ This section exemplifies how to remove a TiKV node from the `10.0.1.5` host.
> **Note:**
>
> This operation is only required after you remove PD nodes. If you only remove TiDB or TiKV nodes, this operation is unnecessary.
> - Refreshing cluster configuration is only required after you remove PD nodes. If you only remove TiDB or TiKV nodes, skip this step.
> - 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.
1. Refresh the cluster configuration:
Expand All @@ -342,10 +340,6 @@ This section exemplifies how to remove a TiKV node from the `10.0.1.5` host.
2. Refresh the Prometheus configuration and restart Prometheus:
> **Note:**
>
> 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.
```shell
tiup cluster reload <cluster-name> -R prometheus
```
Expand Down

0 comments on commit 1e4a33d

Please sign in to comment.