-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
zh_trans: kubeadm-config.md #11684
zh_trans: kubeadm-config.md #11684
Conversation
congfairy
commented
Dec 11, 2018
Deploy preview for k8s-v1-12 processing. Built with commit 9923c3e https://app.netlify.com/sites/k8s-v1-12/deploys/5c1091077da1d400085d5ca8 |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@congfairy |
- mikedanese | ||
- luxas | ||
- jbeda | ||
title: kubeadm config |
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.
title: kubeadm config
title: kubeadm 配置
--> | ||
|
||
{{%capture overview%}} | ||
从v1.8.0开始,kubeadm 将集群的配置上传到名为 `kube-system`的 ConfigMap 中,其在`kubeadm-config` 命名空间,稍后在升级时读取ConfigMap。 |
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.
从v1.8.0开始,kubeadm 将集群的配置上传到名为 kube-system
的 ConfigMap 中,其在kubeadm-config
命名空间,稍后在升级时读取ConfigMap。
从 v1.8.0 开始,kubeadm 将集群的配置上传到名为 kube-system
的 ConfigMap 对象中,对象位于 kube-system
命名空间内。并在以后的升级中读取这个 ConfigMap 配置对象。
|
||
{{%capture overview%}} | ||
从v1.8.0开始,kubeadm 将集群的配置上传到名为 `kube-system`的 ConfigMap 中,其在`kubeadm-config` 命名空间,稍后在升级时读取ConfigMap。 | ||
这样可以正确配置系统组件,并提供无缝的用户体验。 |
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.
这样可以正确配置系统组件,并提供无缝的用户体验。
这样可以保证系统组件的正确配置,提供无缝的用户体验。
may use `kubeadm upgrade`. | ||
--> | ||
|
||
您可以执行`kubeadm config view`来查看ConfigMap。如果使用kubeadm v1.7.x或更低版本来初始化群集 |
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.
您可以执行kubeadm config view
来查看ConfigMap。如果使用kubeadm v1.7.x或更低版本来初始化群集
您可以执行 kubeadm config view
来查看 ConfigMap。如果使用 kubeadm v1.7.x 或更低版本来初始化群集
--> | ||
|
||
您可以执行`kubeadm config view`来查看ConfigMap。如果使用kubeadm v1.7.x或更低版本来初始化群集 | ||
,您必须在使用`kubeadm upgrade`前先使用`kubeadm config upload`创建ConfigMap。 |
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.
,您必须在使用kubeadm upgrade
前先使用kubeadm config upload
创建ConfigMap。
,必须先使用 kubeadm config upload
创建 ConfigMap,然后才能使用 kubeadm upgrade
。
to list and pull the images that kubeadm requires. | ||
--> | ||
|
||
在Kubernetes v1.11.0中,添加了一些新命令。你可以使用`kubeadm config print-default` |
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.
在Kubernetes v1.11.0中,添加了一些新命令。你可以使用kubeadm config print-default
在 Kubernetes v1.11.0 中,添加了一些新命令。你可以使用 kubeadm config print-default
--> | ||
|
||
在Kubernetes v1.11.0中,添加了一些新命令。你可以使用`kubeadm config print-default` | ||
打印默认配置,也可以用 `kubeadm config migrate` 来将就配置文件转换到较新的版本。可以使用`kubeadm config images list`和`kubeadm config images pull` |
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.
可以使用kubeadm config images list
和kubeadm config images pull
可以使用 kubeadm config images list
和 kubeadm config images pull
{{% /capture %}} | ||
|
||
{{% capture body %}} | ||
## kubeadm config upload from-file {#cmd-config-from-file} |
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.
这里以及下面这些子标题也需要翻译。
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.
capture这里怎么翻译呢 @xichengliudui
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.
@congfairy
不,我指的不是:capture body
而是:kubeadm config upload from-file
|
||
{{% /capture %}} | ||
|
||
{{% capture whatsnext %}} |
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.
这一句忘了翻译了吗?
@congfairy , 感谢贡献,希望下一次可以注意中英文之间的格式。 |
/hold |