Skip to content

Commit

Permalink
Fix 2 broken links of tiup config files (#7042)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored Sep 1, 2021
1 parent 95a3b4c commit d54af3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion production-offline-deployment-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ source /home/tidb/.bash_profile

## 4. 配置初始化参数文件 `topology.yaml`

集群初始化配置文件需要手动编写,完整的全配置参数模版可以参考 [Github TiUP 项目配置参数模版](https://github.com/pingcap/tiup/blob/master/embed/templates/examples/topology.example.yaml)。需要在中控机上面创建 YAML 格式配置文件,例如 `topology.yaml`:
集群初始化配置文件需要手动编写,完整的全配置参数模版可以参考 [Github TiUP 项目配置参数模版](https://github.com/pingcap/tiup/blob/master/embed/examples/cluster/topology.example.yaml)。需要在中控机上面创建 YAML 格式配置文件,例如 `topology.yaml`:

{{< copyable "shell-regular" >}}

Expand Down
2 changes: 1 addition & 1 deletion upgrade-tidb-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ tiup update cluster
tiup cluster edit-config <cluster-name>
```

3. 参考 [topology](https://github.com/pingcap/tiup/blob/master/embed/templates/examples/topology.example.yaml) 配置模板的格式,将原集群修改过的参数填到拓扑文件的 `server_configs` 下面。
3. 参考 [topology](https://github.com/pingcap/tiup/blob/master/embed/examples/cluster/topology.example.yaml) 配置模板的格式,将原集群修改过的参数填到拓扑文件的 `server_configs` 下面。

修改完成后 `wq` 保存并退出编辑模式,输入 `Y` 确认变更。

Expand Down

0 comments on commit d54af3e

Please sign in to comment.