Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update notes for scaling PD nodes #20379

Merged
merged 3 commits into from
Feb 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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