From d7d183f6ef23ec447c623dbbdbd370eeeb27bf22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Mon, 6 Oct 2025 18:46:12 -0400 Subject: [PATCH 1/2] deploy-tiproxy: Fix config section for session tokens --- en/deploy-tiproxy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/deploy-tiproxy.md b/en/deploy-tiproxy.md index 01610880b6..ddacc85043 100644 --- a/en/deploy-tiproxy.md +++ b/en/deploy-tiproxy.md @@ -70,6 +70,7 @@ If you need to deploy TiProxy for an existing TiDB cluster, follow these steps: - name: sessioncert mountPath: /var/session config: | + [security] session-token-signing-cert = "/var/session/tls.crt" session-token-signing-key = "/var/session/tls.key" ``` From bd1a5779a198c8772a7759b784fe1a71ffc327b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Mon, 6 Oct 2025 19:07:25 -0400 Subject: [PATCH 2/2] Fix links --- en/deploy-tiproxy.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/deploy-tiproxy.md b/en/deploy-tiproxy.md index ddacc85043..265f1d1d86 100644 --- a/en/deploy-tiproxy.md +++ b/en/deploy-tiproxy.md @@ -5,7 +5,7 @@ summary: Learn how to deploy TiProxy for an existing TiDB cluster on Kubernetes. # Deploy TiProxy Load Balancer for an Existing TiDB Cluster -This topic describes how to deploy or remove the TiDB load balancer [TiProxy](https://docs.pingcap.com/tidb/v7.6/tiproxy-overview) for an existing TiDB cluster on Kubernetes. TiProxy is placed between the client and TiDB server to provide load balancing, connection persistence, and service discovery for TiDB. +This topic describes how to deploy or remove the TiDB load balancer [TiProxy](https://docs.pingcap.com/tidb/stable/tiproxy-overview) for an existing TiDB cluster on Kubernetes. TiProxy is placed between the client and TiDB server to provide load balancing, connection persistence, and service discovery for TiDB. > **Note:** > @@ -44,11 +44,11 @@ If you need to deploy TiProxy for an existing TiDB cluster, follow these steps: level = "info" ``` - For more information about TiProxy configuration, see [TiProxy Configuration](https://docs.pingcap.com/tidb/v7.6/tiproxy-configuration). + For more information about TiProxy configuration, see [TiProxy Configuration](https://docs.pingcap.com/tidb/stable/tiproxy-configuration). 4. Configure the related parameters in `spec.tidb` of the TidbCluster CR. For example: - + It is recommended to configure `graceful-wait-before-shutdown` to a value greater than the maximum duration of the transactions in your application. This is used together with TiProxy's connection migration feature. For more information, see [TiProxy Limitations](https://docs.pingcap.com/tidb/v7.6/tiproxy-overview#limitations). + + It is recommended to configure `graceful-wait-before-shutdown` to a value greater than the maximum duration of the transactions in your application. This is used together with TiProxy's connection migration feature. For more information, see [TiProxy Limitations](https://docs.pingcap.com/tidb/stable/tiproxy-overview#limitations). ```yaml spec: