Merge pull request #33656 from kinzhi/kinzhi108

[zh]Sync kubeadm-9
pull/33747/head
Kubernetes Prow Robot 2022-05-14 17:29:17 -07:00 committed by GitHub
commit e8d71e4816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 96 additions and 36 deletions

View File

@ -79,6 +79,3 @@ kubeadm config print join-defaults [flags]
</tbody>
</table>

View File

@ -60,6 +60,3 @@ kubeadm init phase addon [flags]
</tbody>
</table>

View File

@ -81,6 +81,3 @@ kubeadm init phase kubelet-finalize all [flags]
</tbody>
</table>

View File

@ -117,6 +117,3 @@ kubeadm reset [flags]
</tbody>
</table>

View File

@ -1,3 +1,19 @@
<!--
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 conent, 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.
-->
<!--
Print default join configuration, that can be used for 'kubeadm join'
-->
打印默认的节点添加配置,该配置可用于 'kubeadm join' 命令
<!--
### Synopsis
@ -12,12 +28,12 @@ This command prints objects such as the default join configuration that is used
此命令打印对象,例如用于 'kubeadm join' 的默认 join 配置对象。
<!--
Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like {"abcdef.0123456789abcdef" "" "nil" &lt;nil&gt; [] []} in order to pass validation but
Note that sensitive values like the Bootstrap Token fields are replaced with placeholder values like "abcdef.0123456789abcdef" in order to pass validation but
not perform the real computation for creating a token.
-->
请注意,诸如启动引导令牌字段之类的敏感值已替换为 {"abcdef.0123456789abcdef" "" "nil" &lt;nil&gt; [] []}
之类的占位符值以通过验证,但不执行创建令牌的实际计算。
请注意,诸如启动引导令牌字段之类的敏感值已替换为 "abcdef.0123456789abcdef" 之类的占位符值以通过验证,
但不执行创建令牌的实际计算。
```
kubeadm config print join-defaults [flags]
@ -37,14 +53,16 @@ kubeadm config print join-defaults [flags]
<tbody>
<tr>
<td colspan="2">--component-configs stringSlice</td>
<td colspan="2">--component-configs strings/td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed.
-->
<p>
组件配置 API 对象的逗号分隔列表,打印其默认值。可用值:[KubeProxyConfiguration KubeletConfiguration]。如果未设置此参数,则不会打印任何组件配置。
</p>
</td>
</tr>
@ -56,7 +74,9 @@ A comma-separated list for component config API objects to print the default val
<!--
help for join-defaults
-->
<p>
join-defaults 操作的帮助命令
</p>
</td>
</tr>
@ -89,7 +109,9 @@ join-defaults 操作的帮助命令
<!--
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.
-->
<p>
与集群通信时使用的 kubeconfig 文件。如果未设置该参数,则可以在一组标准位置中搜索现有的 kubeconfig 文件。
</p>
</td>
</tr>
@ -101,7 +123,9 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
<!--
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
<p>
[实验] 到 '真实' 主机根文件系统的路径。
</p>
</td>
</tr>

View File

@ -1,3 +1,18 @@
<!--
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 conent, 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.
-->
<!--
Install required addons for passing conformance tests
-->
安装必要的插件以通过一致性测试
<!--
### Synopsis
@ -36,7 +51,9 @@ kubeadm init phase addon [flags]
<!--
help for addon
-->
<p>
addon 操作的帮助命令
</p>
</td>
</tr>
@ -64,10 +81,11 @@ addon 操作的帮助命令
<!--
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
<p>
[实验] 到 '真实' 主机根文件系统的路径。
</p>
</td>
</tr>
</tbody>
</table>

View File

@ -1,10 +1,27 @@
<!--
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 conent, 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.
-->
<!--
Run all kubelet-finalize phases
-->
运行 kubelet-finalize 的所有阶段
<!-- ### Synopsis -->
### 概要
<!-- Run all kubelet-finalize phases -->
运行所有 kubelet-finalize 阶段
<!--
Run all kubelet-finalize phases
-->
运行 kubelet-finalize 的所有阶段
```
kubeadm init phase kubelet-finalize all [flags]
@ -40,7 +57,7 @@ kubeadm init phase kubelet-finalize all [flags]
</tr>
<tr>
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save and store the certificates.</td> -->
<td></td><td style="line-height: 130%; word-wrap: break-word;">保存和存储证书的路径。</td>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>保存和存储证书的路径。</p></td>
</tr>
<tr>
@ -48,7 +65,7 @@ kubeadm init phase kubelet-finalize all [flags]
</tr>
<tr>
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td> -->
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径。</td>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>kubeadm 配置文件的路径。</p></td>
</tr>
<tr>
@ -56,7 +73,7 @@ kubeadm init phase kubelet-finalize all [flags]
</tr>
<tr>
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;">help for all</td> -->
<td></td><td style="line-height: 130%; word-wrap: break-word;">all 操作的帮助命令</td>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>all 操作的帮助命令</p></td>
</tr>
</tbody>
@ -79,11 +96,8 @@ kubeadm init phase kubelet-finalize all [flags]
</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><td style="line-height: 130%; word-wrap: break-word;">[实验] 到'真实'主机根文件系统的路径。</td>
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[实验] 到'真实'主机根文件系统的路径。</p></td>
</tr>
</tbody>
</table>

View File

@ -1,3 +1,19 @@
<!--
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 conent, 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.
-->
<!--
Performs a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'
-->
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所作的更改
<!--
### Synopsis
-->
@ -7,8 +23,7 @@
<!--
Performs a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'
-->
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所做的更改
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所作的更改
<!--
The "reset" command executes the following phases:
@ -53,7 +68,9 @@ kubeadm reset [flags]
<!--
The path to the directory where the certificates are stored. If specified, clean this directory.
-->
<p>
存储证书的目录路径。如果已指定,则需要清空此目录。
</p>
</td>
</tr>
@ -99,7 +116,7 @@ Don't apply any changes; just output what would be done.
Reset the node without prompting for confirmation.
-->
在不提示确认的情况下重置节点。
<p>
</p>
</td>
</tr>
@ -113,7 +130,7 @@ Reset the node without prompting for confirmation.
help for reset
-->
reset 操作的帮助命令
<p>
</p>
</td>
</tr>
@ -127,7 +144,7 @@ reset 操作的帮助命令
A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
-->
错误将显示为警告的检查列表;例如:'IsPrivilegedUser,Swap'。取值为 'all' 时将忽略检查中的所有错误。
<p>
</p>
</td>
</tr>
@ -138,7 +155,7 @@ A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedU
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"
-->
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/admin.conf"
<p>
</p>
</td>
</tr>
<tr>
@ -148,7 +165,7 @@ A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedU
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 文件。如果未设置该标志,则可以在一组标准位置中搜索现有的 kubeconfig 文件。
<p>
</p>
</td>
</tr>
@ -160,7 +177,7 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
<p>
<!-- List of phases to be skipped -->
要跳过的阶段列表
<p>
</p>
</td>
</tr>
@ -192,10 +209,9 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
[实验] 指向 '真实' 宿主机根文件系统的路径。
<p>
</p>
</td>
</tr>
</tbody>
</table>