pingcap / docs-cn

TiDB/TiKV/PD 中文文档
https://docs.pingcap.com/zh
Other
1.81k stars 1.21k forks source link

增加文档说明 k8s 之上如何查看 TiDB 集群当前各组件的配置文件 #1665

Closed tennix closed 4 years ago

tennix commented 5 years ago

Feature Request

This repository is ONLY used to solve problems related to DOCS-CN. For other issues (TiDB, TiKV, etc), please move to other repositories.

  1. Did you encounter a certain issue about the documentation? If yes, please describe the issue that relates to your feature request.

    使用 tidb-operator 部署的 TiDB 集群,配置文件如何查看

  2. Please describe your suggestion or addition.

    通过 kubectl get cm -n <ns> -l app.kubernetes.io/instance=<cluster-name>,app.kubernetes.io/component=tikv -oyaml 查看 tikv 配置文件,其它组件参数类似。 或者通过 kubectl exec -it -n <ns> <cluster-name>-tikv-0 sh 进入 tikv-0 pod 里面,然后 cat /etc/tikv/tikv.toml 查看 tikv 的配置文件。

  3. If convenient, please provide reference materials (Blog, Stack Overflow, etc).

None

tennix commented 4 years ago

This is fixed by https://github.com/pingcap/docs-cn/pull/1666