Merge pull request #33811 from JarHMJ/kubeadm-18
[zh] sync v1.24 kubeadm-18
This commit is contained in:
+19
-4
@@ -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.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file
|
||||
-->
|
||||
生成所有建立控制平面和管理员(admin)所需的 kubeconfig 文件
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
@@ -34,9 +49,9 @@ kubeadm init phase kubeconfig [flags]
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
help for kubeconfig
|
||||
<p>help for kubeconfig</p>
|
||||
-->
|
||||
kubeconfig 操作的帮助命令
|
||||
<p>kubeconfig 操作的帮助命令</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -62,9 +77,9 @@ kubeconfig 操作的帮助命令
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
|
||||
-->
|
||||
[实验] 到 '真实' 主机根文件系统的路径。
|
||||
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
+19
-4
@@ -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.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Updates settings relevant to the kubelet after TLS bootstrap
|
||||
-->
|
||||
TLS 引导后更新与 kubelet 相关的设置
|
||||
|
||||
<!-- ### Synopsis -->
|
||||
### 概要
|
||||
@@ -37,8 +52,8 @@ kubeadm init phase kubelet-finalize [flags]
|
||||
<td colspan="2">-h, --help</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;">help for kubelet-finalize</td> -->
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubelet-finalize 操作的帮助命令</td>
|
||||
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>help for kubelet-finalize</p></td> -->
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>kubelet-finalize 操作的帮助命令</p></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
@@ -60,8 +75,8 @@ kubeadm init phase kubelet-finalize [flags]
|
||||
<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><td style="line-height: 130%; word-wrap: break-word;">[实验] 到'真实'主机根文件系统的路径。</td>
|
||||
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p></td> -->
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[实验] 到'真实'主机根文件系统的路径。</p></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
+24
-9
@@ -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.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Mark a node as a control-plane
|
||||
-->
|
||||
标记节点为控制平面节点
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
@@ -26,7 +41,7 @@ kubeadm init phase mark-control-plane [flags]
|
||||
|
||||
```
|
||||
# 将控制平面标签和污点应用于当前节点,其功能等效于 kubeadm init执行的操作。
|
||||
kubeadm init phase mark-control-plane --config config.yml
|
||||
kubeadm init phase mark-control-plane --config config.yaml
|
||||
|
||||
# 将控制平面标签和污点应用于特定节点
|
||||
kubeadm init phase mark-control-plane --node-name myNode
|
||||
@@ -51,9 +66,9 @@ kubeadm init phase mark-control-plane --node-name myNode
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Path to a kubeadm configuration file.
|
||||
<p>Path to a kubeadm configuration file.</p>
|
||||
-->
|
||||
kubeadm 配置文件的路径。
|
||||
<p>kubeadm 配置文件的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -63,9 +78,9 @@ kubeadm 配置文件的路径。
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
help for mark-control-plane
|
||||
<p>help for mark-control-plane</p>
|
||||
-->
|
||||
mark-control-plane 操作的帮助命令
|
||||
<p>mark-control-plane 操作的帮助命令</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -75,9 +90,9 @@ mark-control-plane 操作的帮助命令
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Specify the node name.
|
||||
<p>Specify the node name.</p>
|
||||
-->
|
||||
指定节点名称。
|
||||
<p>指定节点名称。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -103,9 +118,9 @@ Specify the node name.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
|
||||
-->
|
||||
[实验] 到 '真实' 主机根文件系统的路径。
|
||||
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
+37
-22
@@ -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.
|
||||
-->
|
||||
|
||||
<!--
|
||||
[EXPERIMENTAL] Download certificates shared among control-plane nodes from the kubeadm-certs Secret
|
||||
-->
|
||||
[实验]从 kubeadm-certs Secret 下载控制平面节点之间共享的证书
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
@@ -34,9 +49,9 @@ kubeadm join phase control-plane-prepare download-certs [api-server-endpoint] [f
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Use this key to decrypt the certificate secrets uploaded by init.
|
||||
<p>Use this key to decrypt the certificate secrets uploaded by init.</p>
|
||||
-->
|
||||
使用此密钥可以解密由 init 上传的证书 secret。
|
||||
<p>使用此密钥可以解密由 init 上传的证书 secret。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -46,9 +61,9 @@ Use this key to decrypt the certificate secrets uploaded by init.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Path to kubeadm config file.
|
||||
<p>Path to kubeadm config file.</p>
|
||||
-->
|
||||
kubeadm 配置文件的路径。
|
||||
<p>kubeadm 配置文件的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -58,9 +73,9 @@ kubeadm 配置文件的路径。
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Create a new control plane instance on this node
|
||||
<p>Create a new control plane instance on this node</p>
|
||||
-->
|
||||
在此节点上创建一个新的控制平面实例
|
||||
<p>在此节点上创建一个新的控制平面实例</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -70,9 +85,9 @@ Create a new control plane instance on this node
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
For file-based discovery, a file or URL from which to load cluster information.
|
||||
<p>For file-based discovery, a file or URL from which to load cluster information.</p>
|
||||
-->
|
||||
对于基于文件的发现,给出用于加载集群信息的文件或者 URL。
|
||||
<p>对于基于文件的发现,给出用于加载集群信息的文件或者 URL。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -82,9 +97,9 @@ For file-based discovery, a file or URL from which to load cluster information.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
For token-based discovery, the token used to validate cluster information fetched from the API server.
|
||||
<p>For token-based discovery, the token used to validate cluster information fetched from the API server.</p>
|
||||
-->
|
||||
对于基于令牌的发现,该令牌用于验证从 API 服务器获取的集群信息。
|
||||
<p>对于基于令牌的发现,该令牌用于验证从 API 服务器获取的集群信息。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -94,9 +109,9 @@ For token-based discovery, the token used to validate cluster information fetche
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").
|
||||
<p>For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").</p>
|
||||
-->
|
||||
对于基于令牌的发现,请验证根 CA 公钥是否匹配此哈希值(格式:"<type>:<value>")。
|
||||
<p>对于基于令牌的发现,请验证根 CA 公钥是否匹配此哈希值(格式:"<type>:<value>")。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -106,9 +121,9 @@ For token-based discovery, validate that the root CA public key matches this has
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.
|
||||
<p>For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.</p>
|
||||
-->
|
||||
对于基于令牌的发现,允许在未关联 --discovery-token-ca-cert-hash 参数的情况下添加节点。
|
||||
<p>对于基于令牌的发现,允许在未关联 --discovery-token-ca-cert-hash 参数的情况下添加节点。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -118,9 +133,9 @@ For token-based discovery, allow joining without --discovery-token-ca-cert-hash
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
help for kubeconfig
|
||||
<p>help for download-certs</p>
|
||||
-->
|
||||
kubeconfig 操作的帮助命令
|
||||
<p>download-certs 操作的帮助命令</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -130,9 +145,9 @@ kubeconfig 操作的帮助命令
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.
|
||||
<p>Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.</p>
|
||||
-->
|
||||
指定在加入节点时用于临时通过 Kubernetes 控制平面进行身份验证的令牌。
|
||||
<p>指定在加入节点时用于临时通过 Kubernetes 控制平面进行身份验证的令牌。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -142,9 +157,9 @@ Specify the token used to temporarily authenticate with the Kubernetes Control P
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.
|
||||
<p>Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.</p>
|
||||
-->
|
||||
如果未提供这些值,则将它们用于 discovery-token 令牌和 tls-bootstrap 令牌。
|
||||
<p>如果未提供这些值,则将它们用于 discovery-token 令牌和 tls-bootstrap 令牌。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -170,9 +185,9 @@ Use this token for both discovery-token and tls-bootstrap-token when those value
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
|
||||
-->
|
||||
[实验] 指向 '真实' 宿主机根文件系统的路径。
|
||||
<p>[实验] 指向 '真实' 宿主机根文件系统的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user