-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
tidb-in-kubernetes: update offline pump doc #1940
Conversation
@@ -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 删除。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
缩容 Pump 需要**挨个**将 Pump 节点从集群中下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除。 | |
缩容 Pump 需要先将 Pump 节点从集群中**逐一**下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除。 |
There was a problem hiding this comment.
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 删除,并对每个节点重复上述步骤。"?
There was a problem hiding this comment.
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 删除。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
缩容 Pump 需要**挨个**将 Pump 节点从集群中下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除。 | |
缩容 Pump 需要先将 Pump 节点从集群中**逐一**下线,然后操作 `helm upgrade` 将对应的 Pump Pod 删除。 |
There was a problem hiding this 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 删除,并对每个节点重复上述步骤。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
缩容 Pump 需要先将单个 Pump 节点从集群中下线,然后操作 helm upgrade 将对应的 Pump Pod 删除,并对每个节点重复上述步骤。 | |
缩容 Pump 需要先将单个 Pump 节点从集群中下线,然后运行 `helm upgrade` 命令将对应的 Pump Pod 删除,并对每个节点重复上述步骤。 |
PTAL @yikeke |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What is changed, added or deleted?
What is the related PR or file link(s)?
#1757
Which version does your change affect?
dev, v3.0