Skip to content

Commit fe3ed19

Browse files
committed
[zh]Sync kubeadm-2
1 parent f046de3 commit fe3ed19

File tree

6 files changed

+90
-18
lines changed

6 files changed

+90
-18
lines changed

content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_all.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,3 @@ kubeadm init phase upload-config all [flags]
7474

7575
</tbody>
7676
</table>
77-
78-
79-

content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubeadm.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,3 @@ kubeadm init phase upload-config kubeadm [flags]
8383

8484
</tbody>
8585
</table>
86-
87-
88-

content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_join_phase_control-plane-prepare_certs.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ kubeadm join phase control-plane-prepare certs [api-server-endpoint] [flags]
110110
</tbody>
111111
</table>
112112

113-
114-
115113
### Options inherited from parent commands
116114

117115
<table style="width: 100%; table-layout: fixed;">
@@ -130,6 +128,3 @@ kubeadm join phase control-plane-prepare certs [api-server-endpoint] [flags]
130128

131129
</tbody>
132130
</table>
133-
134-
135-

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_all.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
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 conent, 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+
12+
13+
<!--
14+
Upload all configuration to a config map
15+
-->
16+
将所有配置上传到 ConfigMap
117

218
<!--
319
### Synopsis
@@ -36,7 +52,9 @@ kubeadm init phase upload-config all [flags]
3652
<!--
3753
Path to a kubeadm configuration file.
3854
-->
55+
<p>
3956
kubeadm 配置文件的路径。
57+
</p>
4058
</td>
4159
</td>
4260
</tr>
@@ -49,7 +67,9 @@ kubeadm 配置文件的路径。
4967
<!--
5068
help for all
5169
-->
70+
<p>
5271
all 操作的帮助命令
72+
</p>
5373
</td>
5474
</tr>
5575

@@ -58,15 +78,19 @@ all 操作的帮助命令
5878
<!--
5979
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"
6080
-->
81+
<p>
6182
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/admin.conf"
83+
</p>
6284
</td>
6385
</tr>
6486
<tr>
6587
<td></td><td style="line-height: 130%; word-wrap: break-word;">
6688
<!--
6789
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.
6890
-->
91+
<p>
6992
与集群通信时使用的 kubeconfig 文件。如果未设置该参数,则可以在一组标准位置中搜索现有的 kubeconfig 文件。
93+
</p>
7094
</td>
7195
</tr>
7296

@@ -94,10 +118,11 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
94118
<!--
95119
[EXPERIMENTAL] The path to the 'real' host root filesystem.
96120
-->
121+
<p>
97122
[实验] 到 '真实' 主机根文件系统的路径。
123+
</p>
98124
</td>
99125
</tr>
100126

101127
</tbody>
102128
</table>
103-

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubeadm.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
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 conent, 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+
112

13+
<!--
14+
Upload the kubeadm ClusterConfiguration to a ConfigMap
15+
-->
16+
将 kubeadm ClusterConfiguration 上传到 ConfigMap
217
<!--
318
### Synopsis
419
-->
@@ -58,7 +73,9 @@ kubeadm init phase upload-config --config=myConfig.yaml
5873
<!--
5974
Path to a kubeadm configuration file.
6075
-->
76+
<p>
6177
kubeadm 配置文件的路径。
78+
</p>
6279
</td>
6380
</tr>
6481

@@ -70,7 +87,9 @@ kubeadm 配置文件的路径。
7087
<!--
7188
help for kubeadm
7289
-->
90+
<p>
7391
kubeadm 操作的帮助命令
92+
</p>
7493
</td>
7594
</tr>
7695

@@ -87,7 +106,9 @@ kubeadm 操作的帮助命令
87106
<!--
88107
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.
89108
-->
109+
<p>
90110
与集群通信时使用的 kubeconfig 文件。如果未设置该参数,则可以在一组标准位置中搜索现有的 kubeconfig 文件。
111+
</p>
91112
</td>
92113
</tr>
93114

@@ -115,10 +136,11 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
115136
<!--
116137
[EXPERIMENTAL] The path to the 'real' host root filesystem.
117138
-->
139+
<p>
118140
[实验] 到 '真实' 主机根文件系统的路径。
141+
</p>
119142
</td>
120143
</tr>
121144

122145
</tbody>
123146
</table>
124-

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_join_phase_control-plane-prepare_certs.md

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
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 conent, 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+
12+
13+
<!--
14+
Generate the certificates for the new control plane components
15+
-->
16+
为新的控制平面组件生成证书
117

218
<!--
319
### Synopsis
@@ -8,7 +24,6 @@
824
<!--
925
Generate the certificates for the new control plane components
1026
-->
11-
1227
为新的控制平面组件生成证书
1328

1429
```
@@ -18,7 +33,6 @@ kubeadm join phase control-plane-prepare certs [api-server-endpoint] [flags]
1833
<!--
1934
### Options
2035
-->
21-
2236
### 选项
2337

2438
<table style="width: 100%; table-layout: fixed;">
@@ -36,7 +50,9 @@ kubeadm join phase control-plane-prepare certs [api-server-endpoint] [flags]
3650
<!--
3751
If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
3852
-->
53+
<p>
3954
如果该节点托管一个新的控制平面实例,则 API 服务器将公布其正在侦听的 IP 地址。如果未设置,则使用默认网络接口。
55+
</p>
4056
</td>
4157
</tr>
4258

@@ -48,7 +64,9 @@ If the node should host a new control plane instance, the IP address the API Ser
4864
<!--
4965
Path to kubeadm config file.
5066
-->
67+
<p>
5168
kubeadm 配置文件的路径。
69+
</p>
5270
</td>
5371
</tr>
5472

@@ -60,7 +78,9 @@ kubeadm 配置文件的路径。
6078
<!--
6179
Create a new control plane instance on this node
6280
-->
81+
<p>
6382
在此节点上创建一个新的控制平面实例
83+
</p>
6484
</td>
6585
</tr>
6686

@@ -72,7 +92,9 @@ Create a new control plane instance on this node
7292
<!--
7393
For file-based discovery, a file or URL from which to load cluster information.
7494
-->
95+
<p>
7596
对于基于文件的发现,给出用于加载集群信息的文件或者 URL。
97+
</p>
7698
</td>
7799
</tr>
78100

@@ -84,19 +106,23 @@ For file-based discovery, a file or URL from which to load cluster information.
84106
<!--
85107
For token-based discovery, the token used to validate cluster information fetched from the API server.
86108
-->
109+
<p>
87110
对于基于令牌的发现,该令牌用于验证从 API 服务器获取的集群信息。
111+
</p>
88112
</td>
89113
</tr>
90114

91115
<tr>
92-
<td colspan="2">--discovery-token-ca-cert-hash stringSlice</td>
116+
<td colspan="2">--discovery-token-ca-cert-hash strings</td>
93117
</tr>
94118
<tr>
95119
<td></td><td style="line-height: 130%; word-wrap: break-word;">
96120
<!--
97121
For token-based discovery, validate that the root CA public key matches this hash (format: "&lt;type&gt;:&lt;value&gt;").
98122
-->
123+
<p>
99124
对于基于令牌的发现,请验证根 CA 公钥是否匹配此哈希值(格式:"&lt;type&gt;:&lt;value&gt;")。
125+
</p>
100126
</td>
101127
</tr>
102128

@@ -108,7 +134,9 @@ For token-based discovery, validate that the root CA public key matches this has
108134
<!--
109135
For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.
110136
-->
137+
<p>
111138
对于基于令牌的发现,允许在未关联 --discovery-token-ca-cert-hash 参数的情况下添加节点。
139+
</p>
112140
</td>
113141
</tr>
114142

@@ -120,7 +148,9 @@ For token-based discovery, allow joining without --discovery-token-ca-cert-hash
120148
<!--
121149
help for certs
122150
-->
151+
<p>
123152
certs 操作的帮助命令
153+
</p>
124154
</td>
125155
</tr>
126156

@@ -132,7 +162,9 @@ certs 操作的帮助命令
132162
<!--
133163
Specify the node name.
134164
-->
165+
<p>
135166
指定节点名称。
167+
</p>
136168
</td>
137169
</tr>
138170

@@ -144,7 +176,9 @@ Specify the node name.
144176
<!--
145177
Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.
146178
-->
179+
<p>
147180
指定在加入节点时用于临时通过 Kubernetes 控制平面进行身份验证的令牌。
181+
</p>
148182
</td>
149183
</tr>
150184

@@ -156,7 +190,9 @@ Specify the token used to temporarily authenticate with the Kubernetes Control P
156190
<!--
157191
Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.
158192
-->
193+
<p>
159194
如果未提供这些值,则将它们用于 discovery-token 令牌和 tls-bootstrap 令牌。
195+
</p>
160196
</td>
161197
</tr>
162198

@@ -166,7 +202,6 @@ Use this token for both discovery-token and tls-bootstrap-token when those value
166202
<!--
167203
### Options inherited from parent commands
168204
-->
169-
170205
### 从父命令继承的选项
171206

172207
<table style="width: 100%; table-layout: fixed;">
@@ -184,10 +219,11 @@ Use this token for both discovery-token and tls-bootstrap-token when those value
184219
<!--
185220
[EXPERIMENTAL] The path to the 'real' host root filesystem.
186221
-->
222+
<p>
187223
[实验] 指向 '真实' 宿主机根文件系统的路径。
224+
</p>
188225
</td>
189226
</tr>
190227

191228
</tbody>
192229
</table>
193-

0 commit comments

Comments
 (0)