Skip to content

Commit

Permalink
Merge pull request #43570 from windsonsea/inityh
Browse files Browse the repository at this point in the history
[zh] Clean up kubeadm_init_phase_upload files
  • Loading branch information
k8s-ci-robot authored Oct 19, 2023
2 parents f5a37b0 + 1761282 commit d5cdb38
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 89 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->

<!--
Upload certificates to kubeadm-certs
-->
将证书上传到 kubeadm-certs
将证书上传到 kubeadm-certs

<!--
### Synopsis
Expand All @@ -22,7 +11,7 @@ Upload certificates to kubeadm-certs
<!--
Upload control plane certificates to the kubeadm-certs Secret
-->
将控制平面证书上传到 kubeadm-certs Secret
将控制平面证书上传到 kubeadm-certs Secret

```
kubeadm init phase upload-certs [flags]
Expand Down Expand Up @@ -91,7 +80,7 @@ Don't apply any changes; just output what would be done.
help for upload-certs
-->
<p>
upload-certs 操作的帮助命令
upload-certs 操作的帮助命令
</p>
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->

<!--
Upload the kubeadm and kubelet configuration to a ConfigMap
-->
上传 kubeadm 和 kubelet 配置到 ConfigMap 中
上传 kubeadm 和 kubelet 配置到 ConfigMap 中

<!--
### Synopsis
-->

### 概要

<!--
This command is not meant to be run on its own. See list of available subcommands.
-->

此命令并非设计用来单独运行。请参阅可用的子命令列表。

```
Expand All @@ -33,7 +20,6 @@ kubeadm init phase upload-config [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand All @@ -51,7 +37,7 @@ kubeadm init phase upload-config [flags]
<!--
<p>help for upload-config</p>
-->
<p>upload-config 操作的帮助命令</p>
<p>upload-config 操作的帮助命令</p>
</td>
</tr>

Expand All @@ -61,7 +47,6 @@ kubeadm init phase upload-config [flags]
<!--
### Options inherited from parent commands
-->

### 从父命令中继承的选项

<table style="width: 100%; table-layout: fixed;">
Expand All @@ -85,4 +70,3 @@ kubeadm init phase upload-config [flags]

</tbody>
</table>

Original file line number Diff line number Diff line change
@@ -1,30 +1,16 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->


<!--
Upload all configuration to a config map
-->
将所有配置上传到 ConfigMap
将所有配置上传到 ConfigMap

<!--
### Synopsis
-->

### 概要

<!--
Upload all configuration to a config map
-->

将所有配置上传到 ConfigMap

```
Expand All @@ -34,7 +20,6 @@ kubeadm init phase upload-config all [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -101,7 +86,7 @@ help for all
</p>
-->
<p>
all 操作的帮助命令
all 操作的帮助命令
</p>
</td>
</tr>
Expand Down Expand Up @@ -135,7 +120,6 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
<!--
### Options inherited from parent commands
-->

### 从父命令继承的选项

<table style="width: 100%; table-layout: fixed;">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,36 +1,22 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->


<!--
Upload the kubeadm ClusterConfiguration to a ConfigMap
-->
将 kubeadm ClusterConfiguration 上传到 ConfigMap
将 kubeadm ClusterConfiguration 上传到 ConfigMap。

<!--
### Synopsis
-->

### 概要

<!--
Upload the kubeadm ClusterConfiguration to a ConfigMap called kubeadm-config in the kube-system namespace. This enables correct configuration of system components and a seamless user experience when upgrading.
-->

将 kubeadm ClusterConfiguration 上传到 kube-system 命名空间中名为 kubeadm-config 的 ConfigMap 中。
这样就可以正确配置系统组件,并在升级时提供无缝的用户体验。

<!--
Alternatively, you can use kubeadm config.
-->

另外,可以使用 kubeadm 配置。

```
Expand All @@ -40,13 +26,11 @@ kubeadm init phase upload-config kubeadm [flags]
<!--
### Examples
-->

### 示例

<!--
# upload the configuration of your cluster
-->

```
# 上传集群配置
kubeadm init phase upload-config --config=myConfig.yaml
Expand All @@ -55,7 +39,6 @@ kubeadm init phase upload-config --config=myConfig.yaml
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -117,7 +100,7 @@ Don't apply any changes; just output what would be done.
help for kubeadm
-->
<p>
kubeadm 操作的帮助命令
kubeadm 操作的帮助命令
</p>
</td>
</tr>
Expand Down Expand Up @@ -147,7 +130,6 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
<!--
### Options inherited from parent commands
-->

### 从父命令继承的选项

<table style="width: 100%; table-layout: fixed;">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->


<!--
Upload the kubelet component config to a ConfigMap
-->
将 kubelet 组件配置上传到 ConfigMap
将 kubelet 组件配置上传到 ConfigMap

<!--
### Synopsis
Expand Down Expand Up @@ -63,7 +51,9 @@ kubeadm init phase upload-config kubelet --config kubeadm.yaml
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!-- Path to a kubeadm configuration file. -->
<!--
Path to a kubeadm configuration file.
-->
<p>
到 kubeadm 配置文件的路径。
</p>
Expand Down Expand Up @@ -104,9 +94,11 @@ Don't apply any changes; just output what would be done.
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!-- help for kubelet -->
<!--
help for kubelet
-->
<p>
kubelet 操作的帮助命令
kubelet 操作的帮助命令
</p>
</td>
</tr>
Expand Down Expand Up @@ -145,11 +137,13 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
<td colspan="2">--rootfs string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><!--[EXPERIMENTAL] The path to the 'real' host root filesystem. -->
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
</td>
</tr>

</tbody>
</table>

0 comments on commit d5cdb38

Please sign in to comment.