Skip to content

Commit

Permalink
op-guide: update TiDB-Ansible version information (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitinChen authored and lilin90 committed Apr 23, 2019
1 parent 2f01b05 commit cd2861b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions op-guide/ansible-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ Make sure you have logged in to the Control Machine using the `root` user accoun
1. Log in to the Control Machine using the `tidb` user account and enter the `/home/tidb` directory. The relationship between the `tidb-ansible` version and the TiDB version is as follows:
| TiDB version | tidb-ansible tag | Note |
| -------- | ---------------- | --- |
| :-------- | :---------------- | :--- |
| 2.0 version | v2.0.10, v2.0.11 | It is the latest 2.0 stable version which can be used in the production environment. |
| 2.1 version | v2.1.1 ~ v2.1.6 | It is the latest 2.1 stable version which can be used in the production environment (recommended). |
| 2.1 version | v2.1.1 ~ v2.1.8 | It is the latest 2.1 stable version which can be used in the production environment (recommended). |
| 3.0 version | v3.0.0-beta, v3.0.0-beta.1 | It is currently a beta version which is not recommended to use in the production environment. |
| `master` branch | None | It includes the newest features and is updated on a daily basis, so it is not recommended to use it in the production environment. |
2. Download the corresponding TiDB-Ansible versions from the [TiDB-Ansible project](https://github.com/pingcap/tidb-ansible). The default folder name is `tidb-ansible`.
2. Download the [corresponding TiDB-Ansible versions](https://github.com/pingcap/tidb-ansible/tags) from the [TiDB-Ansible project](https://github.com/pingcap/tidb-ansible). The default folder name is `tidb-ansible`.
> **Note:** It is required to use the corresponding tidb-ansible version when you deploy and upgrade the TiDB cluster. If you deploy TiDB using a mismatched version of tidb-ansible (such as using tidb-ansible v2.1.4 to deploy TiDB v2.1.6), an error might occur.
Expand Down Expand Up @@ -516,7 +516,7 @@ TiKV1-1 ansible_host=172.16.10.4 deploy_dir=/data1/deploy
To enable the following control variables, use the capitalized `True`. To disable the following control variables, use the capitalized `False`.

| Variable Name | Description |
| ---- | ------- |
| :---- | :------- |
| cluster_name | the name of a cluster, adjustable |
| tidb_version | the version of TiDB, configured by default in TiDB-Ansible branches |
| process_supervision | the supervision way of processes, systemd by default, supervise optional |
Expand Down

0 comments on commit cd2861b

Please sign in to comment.