Skip to content

Commit c5a9c44

Browse files
fgksgfti-chi-bot
authored andcommitted
Add Troubleshooting Tips (pingcap#2906)
1 parent 0883f78 commit c5a9c44

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

en/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
- [Restart a TiDB Cluster](restart-a-tidb-cluster.md)
4747
- [Destroy a TiDB Cluster](destroy-a-tidb-cluster.md)
4848
- Troubleshoot
49+
- [Troubleshooting Tips](tips.md)
4950
- [Deployment Failures](deploy-failures.md)
5051
- [Cluster Exceptions](exceptions.md)
5152
- Reference

en/tips.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ summary: Learn the commonly used tips for troubleshooting TiDB on Kubernetes.
44
---
55

66
# Tips for Troubleshooting TiDB on Kubernetes
7+
8+
This document provides common tips for troubleshooting TiDB on Kubernetes.
9+
10+
## Modify the configuration of a TiKV instance
11+
12+
In some test scenarios, if you need to modify the configuration of a TiKV instance without affecting other instances, you can refer to the [Modify Configuration Dynamically](https://docs.pingcap.com/tidb/stable/dynamic-config#modify-tikv-configuration-online) document and use SQL to modify the configuration of a single TiKV instance online.
13+
14+
> **Note:**
15+
>
16+
> The modification made by this method is temporary and not persistent. After the Pod is restarted, the original configuration will be used.

zh/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
- [重启 TiDB 集群](restart-a-tidb-cluster.md)
4747
- [销毁 TiDB 集群](destroy-a-tidb-cluster.md)
4848
- 故障诊断
49+
- [使用技巧](tips.md)
4950
- [部署错误](deploy-failures.md)
5051
- [集群异常](exceptions.md)
5152
- 参考

zh/tips.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ summary: 介绍 Kubernetes 上 TiDB 集群管理常用使用技巧。
44
---
55

66
# Kubernetes 上的 TiDB 集群管理常用使用技巧
7+
8+
本文介绍了 Kubernetes 上 TiDB 集群管理常用使用技巧。
9+
10+
## 单独修改某个 TiKV 的配置
11+
12+
在一些测试场景中,如果你需要单独修改某一个 TiKV 实例配置,而不影响其他的 TiKV 实例,可以参考文档[在线修改 TiKV 配置](https://docs.pingcap.com/zh/tidb/stable/dynamic-config#在线修改-tikv-配置),使用 SQL 在线更新某一个 TiKV 实例的配置。
13+
14+
> **注意:**
15+
>
16+
> 这种方式的配置更新是临时的,不会持久化。这意味着,当该 TiKV 的 Pod 重启后,依旧会使用原来的配置。

0 commit comments

Comments
 (0)