Skip to content

Commit

Permalink
zh: update pump doc to change warning to step (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
lichunzhu authored Sep 27, 2020
1 parent 98b5132 commit 60f026d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions zh/deploy-tidb-binlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,7 @@ spec:

### 完全移除 Pump 节点

> **注意:**
>
> 移除 Pump 节点前,必须首先需要执行 `kubectl edit tc ${cluster_name} -n ${namespace}` **设置**其中的 `spec.tidb.binlogEnabled` 为 `false`,等待 tidb pod 完成重启更新后再移除 Pump 节点。
>
> 如果直接移除 Pump 节点会导致 TiDB 没有可以写入的 Pump 而无法使用。

* 移除 Pump 节点前,必须首先需要执行 `kubectl edit tc ${cluster_name} -n ${namespace}` **设置**其中的 `spec.tidb.binlogEnabled` 为 `false`,等待 TiDB Pod 完成重启更新后再移除 Pump 节点。如果直接移除 Pump 节点会导致 TiDB 没有可以写入的 Pump 而无法使用。
* 参考 [缩容 Pump 节点步骤](#缩容-pump-节点) 缩容 Pump 到 0。
* `kubectl edit tc ${cluster_name} -n ${namespace}` 将 `spec.pump` 部分配置项全部删除。
* `kubectl delete sts ${cluster_name}-pump -n ${namespace}` 删除 Pump StatefulSet 资源。
Expand Down

0 comments on commit 60f026d

Please sign in to comment.