From 1761282ce0b84e5dce48d1433fd606da3ade27cf Mon Sep 17 00:00:00 2001 From: windsonsea Date: Thu, 19 Oct 2023 09:17:57 +0800 Subject: [PATCH] [zh] Sync kubeadm-init files --- .../kubeadm_init_phase_upload-certs.md | 17 ++--------- .../kubeadm_init_phase_upload-config.md | 20 ++----------- .../kubeadm_init_phase_upload-config_all.md | 20 ++----------- ...ubeadm_init_phase_upload-config_kubeadm.md | 24 ++------------- ...ubeadm_init_phase_upload-config_kubelet.md | 30 ++++++++----------- 5 files changed, 22 insertions(+), 89 deletions(-) diff --git a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-certs.md b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-certs.md index 32032da4c428c..5915b8bfa2050 100644 --- a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-certs.md +++ b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-certs.md @@ -1,18 +1,7 @@ - - -将证书上传到 kubeadm-certs +将证书上传到 kubeadm-certs。 -将控制平面证书上传到 kubeadm-certs Secret +将控制平面证书上传到 kubeadm-certs Secret。 ``` kubeadm init phase upload-certs [flags] @@ -91,7 +80,7 @@ Don't apply any changes; just output what would be done. help for upload-certs -->

-upload-certs 操作的帮助命令 +upload-certs 操作的帮助命令。

diff --git a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config.md b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config.md index ab71af1aa0afa..1f748430ffe28 100644 --- a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config.md +++ b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config.md @@ -1,29 +1,16 @@ - - -上传 kubeadm 和 kubelet 配置到 ConfigMap 中 +上传 kubeadm 和 kubelet 配置到 ConfigMap 中。 - ### 概要 - 此命令并非设计用来单独运行。请参阅可用的子命令列表。 ``` @@ -33,7 +20,6 @@ kubeadm init phase upload-config [flags] - ### 选项 @@ -51,7 +37,7 @@ kubeadm init phase upload-config [flags] -

upload-config 操作的帮助命令

+

upload-config 操作的帮助命令。

@@ -61,7 +47,6 @@ kubeadm init phase upload-config [flags] - ### 从父命令中继承的选项
@@ -85,4 +70,3 @@ kubeadm init phase upload-config [flags]
- diff --git a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_all.md b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_all.md index 8c86316d5a99e..c8f47bb403ac8 100644 --- a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_all.md +++ b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_all.md @@ -1,30 +1,16 @@ - - - -将所有配置上传到 ConfigMap +将所有配置上传到 ConfigMap。 - ### 概要 - 将所有配置上传到 ConfigMap ``` @@ -34,7 +20,6 @@ kubeadm init phase upload-config all [flags] - ### 选项 @@ -101,7 +86,7 @@ help for all

-->

-all 操作的帮助命令 +all 操作的帮助命令。

@@ -135,7 +120,6 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set, - ### 从父命令继承的选项
diff --git a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubeadm.md b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubeadm.md index c44e962113082..0dd64b28d60bd 100644 --- a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubeadm.md +++ b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubeadm.md @@ -1,36 +1,22 @@ - - - -将 kubeadm ClusterConfiguration 上传到 ConfigMap +将 kubeadm ClusterConfiguration 上传到 ConfigMap。 + - ### 概要 - 将 kubeadm ClusterConfiguration 上传到 kube-system 命名空间中名为 kubeadm-config 的 ConfigMap 中。 这样就可以正确配置系统组件,并在升级时提供无缝的用户体验。 - 另外,可以使用 kubeadm 配置。 ``` @@ -40,13 +26,11 @@ kubeadm init phase upload-config kubeadm [flags] - ### 示例 - ``` # 上传集群配置 kubeadm init phase upload-config --config=myConfig.yaml @@ -55,7 +39,6 @@ kubeadm init phase upload-config --config=myConfig.yaml - ### 选项
@@ -117,7 +100,7 @@ Don't apply any changes; just output what would be done. help for kubeadm -->

-kubeadm 操作的帮助命令 +kubeadm 操作的帮助命令。

@@ -147,7 +130,6 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set, - ### 从父命令继承的选项
diff --git a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubelet.md b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubelet.md index 262980c957ca1..3306650e5dca3 100644 --- a/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubelet.md +++ b/content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubelet.md @@ -1,19 +1,7 @@ - - - -将 kubelet 组件配置上传到 ConfigMap +将 kubelet 组件配置上传到 ConfigMap。 +

到 kubeadm 配置文件的路径。

@@ -104,9 +94,11 @@ Don't apply any changes; just output what would be done. @@ -145,11 +137,13 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set, -
- +

-kubelet 操作的帮助命令 +kubelet 操作的帮助命令。

--rootfs string
+ +

[实验] 到 '真实' 主机根文件系统的路径。

-