Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions en/TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
- [Restart a TiDB Cluster](restart-a-tidb-cluster.md)
- [Destroy a TiDB Cluster](destroy-a-tidb-cluster.md)
- Troubleshoot
- [Troubleshooting Tips](tips.md)
- [Deployment Failures](deploy-failures.md)
- [Cluster Exceptions](exceptions.md)
- Reference
Expand Down
10 changes: 10 additions & 0 deletions en/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ summary: Learn the commonly used tips for troubleshooting TiDB on Kubernetes.
---

# Tips for Troubleshooting TiDB on Kubernetes

This document provides common tips for troubleshooting TiDB on Kubernetes.

## Modify the configuration of a TiKV instance

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.

> **Note:**
>
> The modification made by this method is temporary and not persistent. After the Pod is restarted, the original configuration will be used.
1 change: 1 addition & 0 deletions zh/TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
- [重启 TiDB 集群](restart-a-tidb-cluster.md)
- [销毁 TiDB 集群](destroy-a-tidb-cluster.md)
- 故障诊断
- [使用技巧](tips.md)
- [部署错误](deploy-failures.md)
- [集群异常](exceptions.md)
- 参考
Expand Down
10 changes: 10 additions & 0 deletions zh/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ summary: 介绍 Kubernetes 上 TiDB 集群管理常用使用技巧。
---

# Kubernetes 上的 TiDB 集群管理常用使用技巧

本文介绍了 Kubernetes 上 TiDB 集群管理常用使用技巧。

## 单独修改某个 TiKV 的配置

在一些测试场景中,如果你需要单独修改某一个 TiKV 实例配置,而不影响其他的 TiKV 实例,可以参考文档[在线修改 TiKV 配置](https://docs.pingcap.com/zh/tidb/stable/dynamic-config#在线修改-tikv-配置),使用 SQL 在线更新某一个 TiKV 实例的配置。

> **注意:**
>
> 这种方式的配置更新是临时的,不会持久化。这意味着,当该 TiKV 的 Pod 重启后,依旧会使用原来的配置。