Skip to content

Commit 024c74e

Browse files
authored
Merge pull request #42886 from windsonsea/coredns
[zh] sync kubeadm_init_phase files
2 parents cac3623 + c10e143 commit 024c74e

File tree

4 files changed

+32
-76
lines changed

4 files changed

+32
-76
lines changed

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_addon.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
1-
<!--
2-
The file is auto-generated from the Go source code of the component using a generic
3-
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4-
to generate the reference documentation, please read
5-
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6-
To update the reference content, please follow the
7-
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8-
guide. You can file document formatting bugs against the
9-
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10-
-->
11-
121
<!--
132
Install required addons for passing conformance tests
143
-->
15-
安装必要的插件以通过一致性测试
4+
安装必要的插件以通过一致性测试
165

176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
This command is not meant to be run on its own. See list of available subcommands.
2513
-->
26-
2714
此命令并非设计用来单独运行。请参阅可用子命令列表。
2815

2916
```
@@ -33,7 +20,6 @@ kubeadm init phase addon [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

3925
<table style="width: 100%; table-layout: fixed;">
@@ -52,7 +38,7 @@ kubeadm init phase addon [flags]
5238
help for addon
5339
-->
5440
<p>
55-
addon 操作的帮助命令
41+
addon 操作的帮助命令
5642
</p>
5743
</td>
5844
</tr>
@@ -63,7 +49,6 @@ addon 操作的帮助命令
6349
<!--
6450
### Options inherited from parent commands
6551
-->
66-
6752
### 继承于父命令的选项
6853

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

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_addon_coredns.md

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<!--
22
Install the CoreDNS addon to a Kubernetes cluster
33
-->
4-
将 CoreDNS 插件安装到 Kubernetes 集群
4+
将 CoreDNS 插件安装到 Kubernetes 集群
55

66
<!--
77
### Synopsis
88
-->
9-
109
### 概要
1110

1211
<!--
1312
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.
1413
-->
15-
1614
通过 API 服务器安装 CoreDNS 附加组件。请注意,即使 DNS 服务器已部署,在安装 CNI 之前 DNS 服务器不会被调度执行。
1715

1816
```
@@ -22,7 +20,6 @@ kubeadm init phase addon coredns [flags]
2220
<!--
2321
### Options
2422
-->
25-
2623
### 选项
2724

2825
<table style="width: 100%; table-layout: fixed;">
@@ -66,13 +63,18 @@ Don't apply any changes; just output what would be done.
6663
<tr>
6764
<td></td><td style="line-height: 130%; word-wrap: break-word;">
6865
<!--
69-
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)
66+
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
67+
EtcdLearnerMode=true|false (ALPHA - default=false)<br/>
68+
PublicKeysECDSA=true|false (ALPHA - default=false)<br/>
69+
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
70+
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)
7071
-->
7172
<p>
72-
一组用来描述各种特性门控的键值(key=value)对。选项是:
73-
<br/>EtcdLearnerMode=true|false (ALPHA - 默认值=false)
74-
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
75-
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
73+
一组用来描述各种特性门控的键值(key=value)对。选项是:<br/>
74+
EtcdLearnerMode=true|false (ALPHA - 默认值=false)<br/>
75+
PublicKeysECDSA=true|false (ALPHA - 默认值=false)<br/>
76+
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
77+
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)
7678
</p>
7779
</td>
7880
</tr>
@@ -82,9 +84,11 @@ A set of key=value pairs that describe feature gates for various features. Optio
8284
</tr>
8385
<tr>
8486
<td></td><td style="line-height: 130%; word-wrap: break-word;">
85-
<!-- help for coredns -->
87+
<!--
88+
help for coredns
89+
-->
8690
<p>
87-
coredns 操作的帮助命令
91+
coredns 操作的帮助命令
8892
</p>
8993
</td>
9094
</tr>
@@ -103,7 +107,7 @@ coredns 操作的帮助命令
103107
Choose a container registry to pull control plane images from
104108
-->
105109
<p>
106-
选择用于拉取控制平面镜像的容器仓库
110+
选择用于拉取控制平面镜像的容器仓库
107111
</p>
108112
</td>
109113
</tr>
@@ -137,7 +141,9 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
137141
</tr>
138142
<tr>
139143
<td></td><td style="line-height: 130%; word-wrap: break-word;">
140-
<!-- Choose a specific Kubernetes version for the control plane. -->
144+
<!--
145+
Choose a specific Kubernetes version for the control plane.
146+
-->
141147
<p>
142148
为控制平面选择特定的 Kubernetes 版本。
143149
</p>
@@ -152,12 +158,10 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
152158
<!--
153159
Print the addon manifests to STDOUT instead of installing them
154160
-->
155-
向 STDOUT 输出插件清单,而不是安装这些插件
161+
向 STDOUT 输出插件清单,而不是安装这些插件
156162
</p></td>
157163
</tr>
158164

159-
160-
161165
<tr>
162166
<td colspan="2">
163167
<!--
@@ -168,7 +172,9 @@ Print the addon manifests to STDOUT instead of installing them
168172
</tr>
169173
<tr>
170174
<td></td><td style="line-height: 130%; word-wrap: break-word;">
171-
<!-- Use alternative range of IP address for service VIPs. -->
175+
<!--
176+
Use alternative range of IP address for service VIPs.
177+
-->
172178
<p>
173179
为服务 VIP 选择 IP 地址范围。
174180
</p>
@@ -185,7 +191,9 @@ Print the addon manifests to STDOUT instead of installing them
185191
</tr>
186192
<tr>
187193
<td></td><td style="line-height: 130%; word-wrap: break-word;">
188-
<!-- Use alternative domain for services, e.g. &quot;myorg.internal&quot;. -->
194+
<!--
195+
Use alternative domain for services, e.g. &quot;myorg.internal&quot;.
196+
-->
189197
<p>
190198
为服务使用其它域名,例如:&quot;myorg.internal&quot;
191199
</p>
@@ -195,12 +203,9 @@ Print the addon manifests to STDOUT instead of installing them
195203
</tbody>
196204
</table>
197205

198-
199-
200206
<!--
201207
### Options inherited from parent commands
202208
-->
203-
204209
### 继承于父命令的选项
205210

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

227232
</tbody>
228233
</table>
229-

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_bootstrap-token.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
<!--
2-
The file is auto-generated from the Go source code of the component using a generic
3-
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4-
to generate the reference documentation, please read
5-
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6-
To update the reference content, please follow the
7-
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8-
guide. You can file document formatting bugs against the
9-
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10-
-->
11-
121
<!--
132
Generates bootstrap tokens used to join a node to a cluster
143
-->
@@ -17,19 +6,16 @@ Generates bootstrap tokens used to join a node to a cluster
176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
Bootstrap tokens are used for establishing bidirectional trust between a node joining the cluster and a control-plane node.
2513
-->
26-
2714
启动引导令牌(bootstrap token)用于在即将加入集群的节点和控制平面节点之间建立双向信任。
2815

2916
<!--
3017
This command makes all the configurations required to make bootstrap tokens works and then creates an initial token.
3118
-->
32-
3319
该命令使启动引导令牌(bootstrap token)所需的所有配置生效,然后创建初始令牌。
3420

3521
```
@@ -39,13 +25,11 @@ kubeadm init phase bootstrap-token [flags]
3925
<!--
4026
### Examples
4127
-->
42-
4328
### 示例
4429

4530
<!--
4631
# Make all the bootstrap token configurations and create an initial token, functionally equivalent to what generated by kubeadm init.
4732
-->
48-
4933
```
5034
# 进行所有引导令牌配置,并创建一个初始令牌,功能上与 kubeadm init 生成的令牌等效。
5135
kubeadm init phase bootstrap-token
@@ -54,7 +38,6 @@ kubeadm init phase bootstrap-token
5438
<!--
5539
### Options
5640
-->
57-
5841
### 选项
5942

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

@@ -137,7 +120,6 @@ Don't apply any changes; just output what would be done.
137120
<!--
138121
### Options inherited from parent commands
139122
-->
140-
141123
### 继承于父命令的选项
142124

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

162144
</tbody>
163145
</table>
164-

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_certs_all.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
1-
<!--
2-
The file is auto-generated from the Go source code of the component using a generic
3-
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4-
to generate the reference documentation, please read
5-
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6-
To update the reference content, please follow the
7-
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8-
guide. You can file document formatting bugs against the
9-
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10-
-->
11-
121
<!--
132
Generate all certificates
143
-->
15-
生成所有证书
4+
生成所有证书
165

176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
Generate all certificates
2513
-->
26-
生成所有证书
14+
生成所有证书
2715

2816
```
2917
kubeadm init phase certs all [flags]
@@ -32,7 +20,6 @@ kubeadm init phase certs all [flags]
3220
<!--
3321
### Options
3422
-->
35-
3623
### 选项
3724

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

@@ -190,7 +177,6 @@ Don't apply any changes; just output what would be done.
190177
<!--
191178
### Options inherited from parent commands
192179
-->
193-
194180
### 继承于父命令的选项
195181

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

0 commit comments

Comments
 (0)