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

Update safely-drain-node.md #25996

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Once it returns (without giving an error), you can power down the node
If you leave the node in the cluster during the maintenance operation, you need to run
-->
一旦它返回(没有报错),
你就可以下电此节点(或者等价地,如果在云平台上,删除支持该节点的虚拟机)。
你就可以下掉此节点(或者等价地,如果在云平台上,删除支持该节点的虚拟机)。
Copy link
Contributor

Choose a reason for hiding this comment

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

emm ... 原来的翻译就是”下电“,power down。
如果觉得不合适,可以换一种说法。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

感觉直译很难理解呀,其实 power down 对于中文来说就是下线节点的意思吧

Copy link
Contributor

Choose a reason for hiding this comment

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

... 难道不能说关掉节点电源?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

可以呀,其实这些操作的描述,可以统称为 下线 吧?不管你是关闭电源,还是直接回收节点,对于 k8s 集群和我们集群管理员来说,都是下线这台节点。

Copy link
Contributor

Choose a reason for hiding this comment

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

这是个见仁见智的问题。个人认为 “下掉” 并不比现在的 “下电” 更好。

Copy link
Contributor

Choose a reason for hiding this comment

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

我认为 下线 比较合适。

Copy link
Member

Choose a reason for hiding this comment

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

剛剛參考了一下英文版的內容,內文如下:
Once it returns (without giving an error), you can power down the node (or equivalently, if on a cloud platform, delete the virtual machine backing the node). If you leave the node in the cluster during the maintenance operation, you need to run.

認為根因是power down這個詞,
本身描述的太過於抽象了。
無法直覺聯想,該文章想要是描述Linux系統$ shutdown$ halt或是$ poweroff
還是根據下段句子,是描述K8s的$ kubectl cordon

如果是$ poweroff,應該就是 “下电”這個描述好。
反之是$ shutdown,應該就是 “下线”這個描述好。

Copy link
Contributor

Choose a reason for hiding this comment

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

嗯,“下线”似乎更常见。

Copy link
Member

@ydFu ydFu Jan 25, 2021

Choose a reason for hiding this comment

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

@hantmac
I recommend the typo to be translated "下线"

如果要在维护操作期间将节点留在集群中,则需要运行:

```shell
Expand Down