diff --git a/scale-tidb-using-tiup.md b/scale-tidb-using-tiup.md index 761de3d818d28..8fcf1639b0e2c 100644 --- a/scale-tidb-using-tiup.md +++ b/scale-tidb-using-tiup.md @@ -65,12 +65,12 @@ If you want to add a TiDB node to the `10.0.1.5` host, take the following steps. ```ini tikv_servers: - host: 10.0.1.5 - ssh_port: 22 - port: 20160 - status_port: 20180 - deploy_dir: /data/deploy/install/deploy/tikv-20160 - data_dir: /data/deploy/install/data/tikv-20160 - log_dir: /data/deploy/install/log/tikv-20160 + ssh_port: 22 + port: 20160 + status_port: 20180 + deploy_dir: /data/deploy/install/deploy/tikv-20160 + data_dir: /data/deploy/install/data/tikv-20160 + log_dir: /data/deploy/install/log/tikv-20160 ``` Here is a PD configuration file template: @@ -80,13 +80,13 @@ If you want to add a TiDB node to the `10.0.1.5` host, take the following steps. ```ini pd_servers: - host: 10.0.1.5 - ssh_port: 22 - name: pd-1 - client_port: 2379 - peer_port: 2380 - deploy_dir: /data/deploy/install/deploy/pd-2379 - data_dir: /data/deploy/install/data/pd-2379 - log_dir: /data/deploy/install/log/pd-2379 + ssh_port: 22 + name: pd-1 + client_port: 2379 + peer_port: 2380 + deploy_dir: /data/deploy/install/deploy/pd-2379 + data_dir: /data/deploy/install/data/pd-2379 + log_dir: /data/deploy/install/log/pd-2379 ``` To view the configuration of the current cluster, run `tiup cluster edit-config `. Because the parameter configuration of `global` and `server_configs` is inherited by `scale-out.yaml` and thus also takes effect in `scale-out.yaml`.