Skip to content

Commit

Permalink
Update notes for scaling PD nodes (#20379)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilin90 authored Feb 27, 2025
1 parent 77cc3ab commit a2020b0
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 @@ -131,7 +131,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 @@ -141,10 +142,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 @@ -333,7 +330,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 @@ -343,10 +341,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 a2020b0

Please sign in to comment.