Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tidb-in-kubernetes: update offline pump doc #1940

Merged

Conversation

junlan-zhang
Copy link
Contributor

@junlan-zhang junlan-zhang commented Oct 12, 2019

What is changed, added or deleted?

  • Modify the wording of offline pump doc to make it clearer and more accurate

What is the related PR or file link(s)?

#1757

Which version does your change affect?

dev, v3.0

@junlan-zhang junlan-zhang added the translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. label Oct 12, 2019
@@ -139,31 +139,29 @@ kubectl get pvc -n <namespace> -l app.kubernetes.io/component=backup,pingcap.com

### Pump 缩容

缩容 Pump 需要挨个先将 Pump 节点从集群中下线之后操作 `helm upgrade` 进行缩容
缩容 Pump 需要**挨个**将 Pump 节点从集群中下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
缩容 Pump 需要**挨个**将 Pump 节点从集群中下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除。
缩容 Pump 需要先将 Pump 节点从集群中**逐一**下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To scale in Pump, for each Pump node, make the node offline and delete the corresponding Pump Pod instead of making all the unwanted nodes offline and deleting the corresponding Pump Pods.

To make it clearer, how about "缩容 Pump 需要先将单个 Pump 节点从集群中下线,然后操作 helm upgrade 将对应的 Pump Pod 删除,并对每个节点重复上述步骤。"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliezhang1112 Agree.

@@ -140,31 +140,29 @@ kubectl get pvc -n <namespace> -l app.kubernetes.io/component=backup,pingcap.com

### Pump 缩容

缩容 Pump 需要挨个先将 Pump 节点从集群中下线之后操作 `helm upgrade` 进行缩容
缩容 Pump 需要**挨个**将 Pump 节点从集群中下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
缩容 Pump 需要**挨个**将 Pump 节点从集群中下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除。
缩容 Pump 需要先将 Pump 节点从集群中**逐一**下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除。

Copy link
Contributor

@yikeke yikeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for v3.0. Rest LGTM.

@@ -139,31 +139,29 @@ kubectl get pvc -n <namespace> -l app.kubernetes.io/component=backup,pingcap.com

### Pump 缩容

缩容 Pump 需要挨个先将 Pump 节点从集群中下线之后操作 `helm upgrade` 进行缩容
缩容 Pump 需要先将单个 Pump 节点从集群中下线,然后操作 helm upgrade 将对应的 Pump Pod 删除,并对每个节点重复上述步骤
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
缩容 Pump 需要先将单个 Pump 节点从集群中下线,然后操作 helm upgrade 将对应的 Pump Pod 删除,并对每个节点重复上述步骤。
缩容 Pump 需要先将单个 Pump 节点从集群中下线,然后运行 `helm upgrade` 命令将对应的 Pump Pod 删除,并对每个节点重复上述步骤。

@junlan-zhang
Copy link
Contributor Author

PTAL @yikeke

Copy link
Contributor

@yikeke yikeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@junlan-zhang junlan-zhang merged commit 3007182 into pingcap:master Oct 29, 2019
@junlan-zhang junlan-zhang deleted the add-offline-pump-doc-(update) branch October 29, 2019 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants