Skip to content

Commit ad53779

Browse files
committed
add tips.md
1 parent 2d6b3a4 commit ad53779

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

en/TOC.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
- [Suspend and Resume a TiDB Cluster](suspend-tidb-cluster.md)
4646
- [Restart a TiDB Cluster](restart-a-tidb-cluster.md)
4747
- [Destroy a TiDB Cluster](destroy-a-tidb-cluster.md)
48+
- Troubleshoot
49+
- [Troubleshooting Tips](tips.md)
4850
- Reference
4951
- Architecture
5052
- [TiDB Operator](architecture.md)

en/tips.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
---
2-
title: Tips for Troubleshooting TiDB on Kubernetes
2+
title: Tips for troubleshooting TiDB on Kubernetes
33
summary: Learn the commonly used tips for troubleshooting TiDB on Kubernetes.
44
---
55

6-
# Tips for Troubleshooting TiDB on Kubernetes
6+
# Tips for troubleshooting TiDB on Kubernetes
7+
8+
This document describes the commonly used 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 and do not want the configuration to affect other instances, you can refer to the [document](https://docs.pingcap.com/tidb/stable/dynamic-config#modify-tikv-configuration-online) and use SQL to online modify the configuration of a single TiKV instance.
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
- [挂起和恢复 TiDB 集群](suspend-tidb-cluster.md)
4646
- [重启 TiDB 集群](restart-a-tidb-cluster.md)
4747
- [销毁 TiDB 集群](destroy-a-tidb-cluster.md)
48+
- 故障诊断
49+
- [使用技巧](tips.md)
4850
- 参考
4951
- 架构
5052
- [TiDB Operator 架构](architecture.md)

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)