Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: xixirangrang <[email protected]>
  • Loading branch information
xhebox and hfxsd authored Dec 22, 2023
1 parent 637cdcd commit 52dbe15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zh/deploy-tiproxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ TiProxy 启动后,可通过以下命令找到对应的 `tiproxy-sql` 负载均

## 移除 TiProxy

如果你的 TiDB 集群不再需要 TiProxy,请进行以下操作移除 TiProxy
如果你的 TiDB 集群不再需要 TiProxy,执行以下操作移除

1. 执行以下命令修改 `spec.tiproxy.replicas``0` 来移除 TiProxy Pod。

Expand All @@ -76,8 +76,6 @@ TiProxy 启动后,可通过以下命令找到对应的 `tiproxy-sql` 负载均

1. 使用以下命令修改 TiDB Cluster CR,删除 `spec.tiproxy` 字段。

{{< copyable "shell-regular" >}}

```shell
kubectl patch tidbcluster ${cluster_name} -n ${namespace} --type json -p '[{"op":"remove", "path":"/spec/tiproxy"}]'
```
Expand Down

0 comments on commit 52dbe15

Please sign in to comment.