Merge pull request #36312 from tengqm/resync-kubeadm-init-puck

[zh] Convert format for kubeadm-init-puck page
pull/36376/head
Kubernetes Prow Robot 2022-08-28 04:54:35 -07:00 committed by GitHub
commit d3f2e3c80b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 114 additions and 125 deletions

View File

@ -1,125 +1,114 @@
<!-- <!--
Upload the kubelet component config to a ConfigMap Upload the kubelet component config to a ConfigMap
--> -->
将 kubelet 组件配置上传到 ConfigMap 将 kubelet 组件配置上传到 ConfigMap
<!-- <!--
### Synopsis ### Synopsis
--> -->
### 概要
### 概要
<!--
<!-- Upload the kubelet configuration extracted from the kubeadm InitConfiguration object to a kubelet-config ConfigMap in the cluster
Upload the kubelet configuration extracted from the kubeadm InitConfiguration object to a kubelet-config ConfigMap in the cluster -->
--> 将从 kubeadm InitConfiguration 对象提取的 kubelet 配置上传到集群中的
`kubelet-config` ConfigMap。
将从 kubeadm InitConfiguration 对象提取的 kubelet 配置上传到集群中的 kubelet-config ConfigMap
```
``` kubeadm init phase upload-config kubelet [flags]
kubeadm init phase upload-config kubelet [flags] ```
```
<!--
<!-- ### Examples
### Examples -->
--> ### 示例
### 示例 <!--
```
<!-- # Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster.
``` kubeadm init phase upload-config kubelet --config kubeadm.yaml
# Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster. ```
kubeadm init phase upload-config kubelet --config kubeadm.yaml -->
``` ```
--> # 将 kubelet 配置从 kubeadm 配置文件上传到集群中的 ConfigMap。
kubeadm init phase upload-config kubelet --config kubeadm.yaml
``` ```
# 将 kubelet 配置从 kubeadm 配置文件上传到集群中的 ConfigMap。
kubeadm init phase upload-config kubelet --config kubeadm.yaml <!--
``` ### Options
-->
<!-- ### 选项
### Options
--> <table style="width: 100%; table-layout: fixed;">
<colgroup>
### 选项 <col span="1" style="width: 10px;" />
<col span="1" />
<table style="width: 100%; table-layout: fixed;"> </colgroup>
<colgroup> <tbody>
<col span="1" style="width: 10px;" />
<col span="1" /> <tr>
</colgroup> <td colspan="2">--config string</td>
<tbody> </tr>
<tr>
<tr> <td></td><td style="line-height: 130%; word-wrap: break-word;">
<td colspan="2">--config string</td> <!-- Path to a kubeadm configuration file. -->
</tr> <p>
<tr> 到 kubeadm 配置文件的路径。
<td></td><td style="line-height: 130%; word-wrap: break-word;"> </p>
<!-- Path to a kubeadm configuration file. --> </td>
<p> </tr>
到 kubeadm 配置文件的路径。
</p> <tr>
</td> <td colspan="2">-h, --help</td>
</tr> </tr>
<tr>
<tr> <td></td><td style="line-height: 130%; word-wrap: break-word;">
<td colspan="2">-h, --help</td> <!-- help for kubelet -->
</tr> <p>
<tr> kubelet 操作的帮助命令
<td></td><td style="line-height: 130%; word-wrap: break-word;"> </p>
<!-- help for kubelet --> </td>
<p> </tr>
kubelet 操作的帮助命令
</p> <tr>
</td> <td colspan="2">-- kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"/etc/kubernetes/admin.conf"</td>
</tr> </tr>
<tr>
<tr> <td></td><td style="line-height: 130%; word-wrap: break-word;">
<td colspan="2"> <!--
<!-- kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf" --> The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/admin.conf"</td> -->
</tr> <p>
<tr> 与集群通信时使用的 kubeconfig 文件。如果未设置该标签,
<td></td><td style="line-height: 130%; word-wrap: break-word;"> 则可以通过一组标准路径来寻找已有的 kubeconfig 文件。
<!-- </p>
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. </td>
--> </tr>
<p>
与集群通信时使用的 kubeconfig 文件。如果未设置该标签,则可以通过一组标准路径来寻找已有的 kubeconfig 文件。 </tbody>
</p> </table>
</td>
</tr> <!--
### Options inherited from parent commands
</tbody> -->
</table> ### 从父命令继承的选项
<!-- <table style="width: 100%; table-layout: fixed;">
### Options inherited from parent commands <colgroup>
--> <col span="1" style="width: 10px;" />
<col span="1" />
### 从父命令继承的选项 </colgroup>
<tbody>
<table style="width: 100%; table-layout: fixed;">
<colgroup> <tr>
<col span="1" style="width: 10px;" /> <td colspan="2">--rootfs string</td>
<col span="1" /> </tr>
</colgroup> <tr>
<tbody> <td></td><td style="line-height: 130%; word-wrap: break-word;"><!--[EXPERIMENTAL] The path to the 'real' host root filesystem. -->
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
<tr> </td>
<td colspan="2">--rootfs string</td> </tr>
</tr>
<tr> </tbody>
<td></td><td style="line-height: 130%; word-wrap: break-word;"> </table>
<!--
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
<p>
[实验] 到 '真实' 主机根文件系统的路径。
</p>
</td>
</tr>
</tbody>
</table>