Closed tennix closed 4 years ago
This repository is ONLY used to solve problems related to DOCS-CN. For other issues (TiDB, TiKV, etc), please move to other repositories.
Did you encounter a certain issue about the documentation? If yes, please describe the issue that relates to your feature request.
使用 tidb-operator 部署的 TiDB 集群,配置文件如何查看
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 的配置文件。
kubectl get cm -n <ns> -l app.kubernetes.io/instance=<cluster-name>,app.kubernetes.io/component=tikv -oyaml
kubectl exec -it -n <ns> <cluster-name>-tikv-0 sh
cat /etc/tikv/tikv.toml
If convenient, please provide reference materials (Blog, Stack Overflow, etc).
None
This is fixed by https://github.com/pingcap/docs-cn/pull/1666
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.
Did you encounter a certain issue about the documentation? If yes, please describe the issue that relates to your feature request.
使用 tidb-operator 部署的 TiDB 集群,配置文件如何查看
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 的配置文件。If convenient, please provide reference materials (Blog, Stack Overflow, etc).
None