Skip to content

Commit

Permalink
[zh] sync kubeadm_init_phase files
Browse files Browse the repository at this point in the history
  • Loading branch information
windsonsea committed Sep 5, 2023
1 parent c744480 commit c10e143
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 76 deletions.
@@ -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.
-->

<!--
Install required addons for passing conformance tests
-->
安装必要的插件以通过一致性测试
安装必要的插件以通过一致性测试

<!--
### 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 addon [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand All @@ -52,7 +38,7 @@ kubeadm init phase addon [flags]
help for addon
-->
<p>
addon 操作的帮助命令
addon 操作的帮助命令
</p>
</td>
</tr>
Expand All @@ -63,7 +49,6 @@ addon 操作的帮助命令
<!--
### Options inherited from parent commands
-->

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

<table style="width: 100%; table-layout: fixed;">
Expand Down
@@ -1,18 +1,16 @@
<!--
Install the CoreDNS addon to a Kubernetes cluster
-->
将 CoreDNS 插件安装到 Kubernetes 集群
将 CoreDNS 插件安装到 Kubernetes 集群

<!--
### Synopsis
-->

### 概要

<!--
Install the CoreDNS addon components via the API server. Please note that although the DNS server is deployed, it will not be scheduled until CNI is installed.
-->

通过 API 服务器安装 CoreDNS 附加组件。请注意,即使 DNS 服务器已部署,在安装 CNI 之前 DNS 服务器不会被调度执行。

```
Expand All @@ -22,7 +20,6 @@ kubeadm init phase addon coredns [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -66,13 +63,18 @@ Don't apply any changes; just output what would be done.
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
A set of key=value pairs that describe feature gates for various features. Options are:<br/>EtcdLearnerMode=true|false (ALPHA - default=false)<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
EtcdLearnerMode=true|false (ALPHA - default=false)<br/>
PublicKeysECDSA=true|false (ALPHA - default=false)<br/>
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)
-->
<p>
一组用来描述各种特性门控的键值(key=value)对。选项是:
<br/>EtcdLearnerMode=true|false (ALPHA - 默认值=false)
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
一组用来描述各种特性门控的键值(key=value)对。选项是:<br/>
EtcdLearnerMode=true|false (ALPHA - 默认值=false)<br/>
PublicKeysECDSA=true|false (ALPHA - 默认值=false)<br/>
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)
</p>
</td>
</tr>
Expand All @@ -82,9 +84,11 @@ A set of key=value pairs that describe feature gates for various features. Optio
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!-- help for coredns -->
<!--
help for coredns
-->
<p>
coredns 操作的帮助命令
coredns 操作的帮助命令
</p>
</td>
</tr>
Expand All @@ -103,7 +107,7 @@ coredns 操作的帮助命令
Choose a container registry to pull control plane images from
-->
<p>
选择用于拉取控制平面镜像的容器仓库
选择用于拉取控制平面镜像的容器仓库
</p>
</td>
</tr>
Expand Down Expand Up @@ -137,7 +141,9 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!-- Choose a specific Kubernetes version for the control plane. -->
<!--
Choose a specific Kubernetes version for the control plane.
-->
<p>
为控制平面选择特定的 Kubernetes 版本。
</p>
Expand All @@ -152,12 +158,10 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
<!--
Print the addon manifests to STDOUT instead of installing them
-->
向 STDOUT 输出插件清单,而不是安装这些插件
向 STDOUT 输出插件清单,而不是安装这些插件
</p></td>
</tr>



<tr>
<td colspan="2">
<!--
Expand All @@ -168,7 +172,9 @@ Print the addon manifests to STDOUT instead of installing them
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!-- Use alternative range of IP address for service VIPs. -->
<!--
Use alternative range of IP address for service VIPs.
-->
<p>
为服务 VIP 选择 IP 地址范围。
</p>
Expand All @@ -185,7 +191,9 @@ Print the addon manifests to STDOUT instead of installing them
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!-- Use alternative domain for services, e.g. &quot;myorg.internal&quot;. -->
<!--
Use alternative domain for services, e.g. &quot;myorg.internal&quot;.
-->
<p>
为服务使用其它域名,例如:&quot;myorg.internal&quot;
</p>
Expand All @@ -195,12 +203,9 @@ Print the addon manifests to STDOUT instead of installing them
</tbody>
</table>



<!--
### Options inherited from parent commands
-->

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

<table style="width: 100%; table-layout: fixed;">
Expand All @@ -226,4 +231,3 @@ Print the addon manifests to STDOUT instead of installing them

</tbody>
</table>

@@ -1,14 +1,3 @@
<!--
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.
-->

<!--
Generates bootstrap tokens used to join a node to a cluster
-->
Expand All @@ -17,19 +6,16 @@ Generates bootstrap tokens used to join a node to a cluster
<!--
### Synopsis
-->

### 概要

<!--
Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a control-plane node.
-->

启动引导令牌(bootstrap token)用于在即将加入集群的节点和控制平面节点之间建立双向信任。

<!--
This command makes all the configurations required to make bootstrap tokens works and then creates an initial token.
-->

该命令使启动引导令牌(bootstrap token)所需的所有配置生效,然后创建初始令牌。

```
Expand All @@ -39,13 +25,11 @@ kubeadm init phase bootstrap-token [flags]
<!--
### Examples
-->

### 示例

<!--
# Make all the bootstrap token configurations and create an initial token, functionally equivalent to what generated by kubeadm init.
-->

```
# 进行所有引导令牌配置,并创建一个初始令牌,功能上与 kubeadm init 生成的令牌等效。
kubeadm init phase bootstrap-token
Expand All @@ -54,7 +38,6 @@ kubeadm init phase bootstrap-token
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -98,7 +81,7 @@ Don't apply any changes; just output what would be done.
<!--
<p>help for bootstrap-token</p>
-->
<p>bootstrap-token 操作的帮助命令</p>
<p>bootstrap-token 操作的帮助命令</p>
</td>
</tr>

Expand Down Expand Up @@ -137,7 +120,6 @@ Don't apply any changes; just output what would be done.
<!--
### Options inherited from parent commands
-->

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

<table style="width: 100%; table-layout: fixed;">
Expand All @@ -161,4 +143,3 @@ Don't apply any changes; just output what would be done.

</tbody>
</table>

@@ -1,29 +1,17 @@
<!--
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.
-->

<!--
Generate all certificates
-->
生成所有证书
生成所有证书

<!--
### Synopsis
-->

### 概要

<!--
Generate all certificates
-->
生成所有证书
生成所有证书

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

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -129,7 +116,7 @@ Don't apply any changes; just output what would be done.
<!--
<p>help for all</p>
-->
<p>all 操作的帮助命令</p>
<p>all 操作的帮助命令</p>
</td>
</tr>

Expand Down Expand Up @@ -190,7 +177,6 @@ Don't apply any changes; just output what would be done.
<!--
### Options inherited from parent commands
-->

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

<table style="width: 100%; table-layout: fixed;">
Expand Down

0 comments on commit c10e143

Please sign in to comment.