-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
reviewers: | ||
- mikedanese | ||
- luxas | ||
- jbeda | ||
title: kubeadm config | ||
content_template: templates/concept | ||
weight: 50 | ||
--- | ||
<!-- | ||
{{% capture overview %}} | ||
Beginning with v1.8.0, kubeadm uploads the configuration of your cluster to a ConfigMap called | ||
`kubeadm-config` in the `kube-system` namespace, and later reads the ConfigMap when upgrading. | ||
This enables correct configuration of system components, and provides a seamless user experience. | ||
--> | ||
|
||
{{%capture overview%}} | ||
从 v1.8.0 开始,kubeadm 将集群的配置上传到名为 kube-system 的 ConfigMap 对象中,对象位于 kube-system 命名空间内。并在以后的升级中读取这个 ConfigMap 配置对象。 | ||
这样可以保证系统组件的正确配置,提供无缝的用户体验。 | ||
|
||
<!-- | ||
You can execute `kubeadm config view` to view the ConfigMap. If you initialized your cluster using | ||
kubeadm v1.7.x or lower, you must use `kubeadm config upload` to create the ConfigMap before you | ||
may use `kubeadm upgrade`. | ||
--> | ||
|
||
您可以执行 kubeadm config view 来查看 ConfigMap。如果使用 kubeadm v1.7.x 或更低版本来初始化群集,必须先使用 kubeadm config upload 创建 ConfigMap,然后才能使用 kubeadm upgrade。 | ||
|
||
<!-- | ||
In Kubernetes v1.11.0, some new commands were added. You can use `kubeadm config print-default` | ||
to print the default configuration and `kubeadm config migrate` to convert your old configuration | ||
files to a newer version. `kubeadm config images list` and `kubeadm config images pull` can be used | ||
to list and pull the images that kubeadm requires. | ||
--> | ||
|
||
在 Kubernetes v1.11.0 中,添加了一些新命令。你可以使用 kubeadm config print-default | ||
打印默认配置,也可以用 kubeadm config migrate 来将就配置文件转换到较新的版本。可以使用 kubeadm config images list 和 kubeadm config images pull | ||
列出并拉取 kubeadm 所需的镜像。 | ||
|
||
{{% /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 commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. @congfairy |
||
{{< include "generated/kubeadm_config_upload_from-file.md" >}} | ||
|
||
{{< include "generated/kubeadm_config_upload_from-flags.md" >}} | ||
|
||
## kubeadm config view {#cmd-config-view} | ||
{{< include "generated/kubeadm_config_view.md" >}} | ||
|
||
## kubeadm config print-default {#cmd-config-print-default} | ||
{{< include "generated/kubeadm_config_print-default.md" >}} | ||
|
||
## kubeadm config migrate {#cmd-config-migrate} | ||
{{< include "generated/kubeadm_config_migrate.md" >}} | ||
|
||
## kubeadm config images list {#cmd-config-images-list} | ||
{{< include "generated/kubeadm_config_images_list.md" >}} | ||
|
||
## kubeadm config images pull {#cmd-config-images-pull} | ||
{{< include "generated/kubeadm_config_images_pull.md" >}} | ||
|
||
{{% /capture %}} | ||
|
||
{{% capture whatsnext %}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这一句忘了翻译了吗? |
||
|
||
<!-- | ||
* [kubeadm upgrade](/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/) to upgrade a Kubernetes cluster to a newer version | ||
{{% /capture %}} | ||
--> | ||
|
||
* [kubeadm upgrade](/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)将Kubernetes集群升级到更新版本[kubeadm upgrade] | ||
{{% /capture %}} | ||
|
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 配置