Skip to content

Commit a7b0261

Browse files
committed
[zh]Sync kubeadm-8
[zh]Sync kubeadm-8
1 parent 2a311ee commit a7b0261

File tree

6 files changed

+82
-70
lines changed

6 files changed

+82
-70
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,3 @@ kubeadm certs renew apiserver [flags]
8787

8888
</tbody>
8989
</table>
90-
91-
92-

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,3 @@ kubeadm init phase certs sa [flags]
6969

7070
</tbody>
7171
</table>
72-
73-
74-

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,3 @@ kubeadm upgrade node phase preflight [flags]
6767

6868
</tbody>
6969
</table>
70-
71-
72-

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

Lines changed: 30 additions & 46 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+
Renew the certificate for serving the Kubernetes API
15+
-->
16+
续订用于提供 Kubernetes API 的证书
117

218
<!--
319
### Synopsis
@@ -12,7 +28,6 @@ Renew the certificate for serving the Kubernetes API.
1228
<!--
1329
Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
1430
-->
15-
1631
无论证书的到期日期如何,续订都会无条件地进行;SAN 等额外属性将基于现有文件/证书,因此无需重新提供它们。
1732

1833
<!--
@@ -22,7 +37,7 @@ Renewal by default tries to use the certificate authority in the local PKI manag
2237
可以使用 K8s 证书 API 进行证书更新,或者作为最后一个选择来生成 CSR 请求。
2338

2439
<!--
25-
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
40+
After renewal, in order to make changes effective, is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
2641
-->
2742
续订后,为了使更改生效,需要重新启动控制平面组件,并最终重新分发更新的证书,以防文件在其他地方使用。
2843

@@ -55,7 +70,9 @@ kubeadm certs renew apiserver [flags]
5570
<!--
5671
The path where to save the certificates.
5772
-->
73+
<p>
5874
保存证书的路径。
75+
</p>
5976
</td>
6077
</tr>
6178

@@ -67,31 +84,9 @@ The path where to save the certificates.
6784
<!--
6885
Path to a kubeadm configuration file.
6986
-->
87+
<p>
7088
kubeadm 配置文件的路径。
71-
</td>
72-
</tr>
73-
74-
<tr>
75-
<td colspan="2">--csr-dir string</td>
76-
</tr>
77-
<tr>
78-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
79-
<!--
80-
The path to output the CSRs and private keys to
81-
-->
82-
CSR 和私钥的输出路径
83-
</td>
84-
</tr>
85-
86-
<tr>
87-
<td colspan="2">--csr-only</td>
88-
</tr>
89-
<tr>
90-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
91-
<!--
92-
Create CSRs instead of generating certificates
93-
-->
94-
创建 CSR 而不是生成证书
89+
</p>
9590
</td>
9691
</tr>
9792

@@ -103,37 +98,26 @@ Create CSRs instead of generating certificates
10398
<!--
10499
help for apiserver
105100
-->
101+
<p>
106102
apiserver 子操作的帮助命令
103+
</p>
107104
</td>
108105
</tr>
109106

110107
<tr>
111-
<td colspan="2">
112-
<!--
113-
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"
114-
-->
108+
<td colspan="2"><!-- --kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf" -->
115109
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/admin.conf"
116110
</td>
117111
</tr>
112+
118113
<tr>
119-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
120-
<!--
114+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><!--
121115
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.
122116
-->
117+
<p>
123118
与集群通信时使用的 kubeconfig 文件。
124119
如果未设置该参数,则可以在一组标准位置中搜索现有的 kubeconfig 文件。
125-
</td>
126-
</tr>
127-
128-
<tr>
129-
<td colspan="2">--use-api</td>
130-
</tr>
131-
<tr>
132-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
133-
<!--
134-
Use the Kubernetes certificate API to renew certificates
135-
-->
136-
使用 Kubernetes 证书 API 续订证书
120+
</p>
137121
</td>
138122
</tr>
139123

@@ -143,7 +127,6 @@ Use the Kubernetes certificate API to renew certificates
143127
<!--
144128
### Options inherited from parent commands
145129
-->
146-
147130
### 从父命令继承的选项
148131

149132
<table style="width: 100%; table-layout: fixed;">
@@ -161,10 +144,11 @@ Use the Kubernetes certificate API to renew certificates
161144
<!--
162145
[EXPERIMENTAL] The path to the 'real' host root filesystem.
163146
-->
147+
<p>
164148
[实验] 到 '真实' 主机根文件系统的路径。
149+
</p>
165150
</td>
166151
</tr>
167152

168153
</tbody>
169154
</table>
170-

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

Lines changed: 27 additions & 6 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 a private key for signing service account tokens along with its public key
15+
-->
16+
生成用来签署服务账号令牌的私钥及其公钥
117

218
<!--
319
### Synopsis
@@ -8,20 +24,21 @@
824
<!--
925
Generate the private key for signing service account tokens along with its public key, and save them into sa.key and sa.pub files. If both files already exist, kubeadm skips the generation step and existing files will be used.
1026
-->
11-
12-
生成用于签名 service account 令牌的私钥及其公钥,并将其保存到 sa.key 和 sa.pub 文件中。如果两个文件都已存在,则 kubeadm 会跳过生成步骤,而将使用现有文件。
27+
生成用来签署服务账号令牌的私钥及其公钥,并将其保存到 sa.key 和 sa.pub 文件中。
28+
如果两个文件都已存在,则 kubeadm 会跳过生成步骤,而将使用现有文件。
1329

1430
<!--
1531
Alpha Disclaimer: this command is currently alpha.
1632
-->
17-
1833
Alpha 免责声明:此命令当前为 alpha 阶段。
1934

2035
```
2136
kubeadm init phase certs sa [flags]
2237
```
2338

24-
<!-- ### Options -->
39+
<!--
40+
### Options
41+
-->
2542

2643
### 选项
2744

@@ -45,7 +62,9 @@ kubeadm init phase certs sa [flags]
4562
<!--
4663
The path where to save and store the certificates.
4764
-->
65+
<p>
4866
保存和存储证书的路径。
67+
</p>
4968
</td>
5069
</tr>
5170

@@ -57,7 +76,9 @@ The path where to save and store the certificates.
5776
<!--
5877
help for sa
5978
-->
79+
<p>
6080
sa 操作的帮助命令
81+
</p>
6182
</td>
6283
</tr>
6384

@@ -67,7 +88,6 @@ sa 操作的帮助命令
6788
<!--
6889
### Options inherited from parent commands
6990
-->
70-
7191
### 继承于父命令的选项
7292

7393
<table style="width: 100%; table-layout: fixed;">
@@ -85,10 +105,11 @@ sa 操作的帮助命令
85105
<!--
86106
[EXPERIMENTAL] The path to the 'real' host root filesystem.
87107
-->
108+
<p>
88109
[实验] 到 '真实' 主机根文件系统的路径。
110+
</p>
89111
</td>
90112
</tr>
91113

92114
</tbody>
93115
</table>
94-

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

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
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+
Run upgrade node pre-flight checks
14+
-->
15+
执行升级节点的预检
116

217
<!-- ### Synopsis -->
318
### 概要
@@ -11,7 +26,9 @@
1126
kubeadm upgrade node phase preflight [flags]
1227
```
1328

14-
<!-- ### Options -->
29+
<!--
30+
### Options
31+
-->
1532
### 选项
1633

1734
<table style="width: 100%; table-layout: fixed;">
@@ -26,25 +43,27 @@ kubeadm upgrade node phase preflight [flags]
2643
</tr>
2744
<tr>
2845
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;">help for preflight</td> -->
29-
<td></td><td style="line-height: 130%; word-wrap: break-word;">preflight 操作的帮助命令</td>
46+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>preflight 操作的帮助命令</p></td>
3047
</tr>
3148

3249
<tr>
33-
<td colspan="2">--ignore-preflight-errors stringSlice</td>
50+
<td colspan="2">--ignore-preflight-errors strings</td>
3451
</tr>
3552
<tr>
3653
<!--
3754
<td></td><td style="line-height: 130%; word-wrap: break-word;">A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</td>
3855
-->
39-
<td></td><td style="line-height: 130%; word-wrap: break-word;">错误将显示为警告的检查清单。示例:'IsPrivilegedUser,Swap'。值为'all'表示忽略所有检查的错误。</td>
56+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>错误将显示为警告的检查清单。示例:'IsPrivilegedUser,Swap'。值为'all'表示忽略所有检查的错误。</p></td>
4057
</tr>
4158

4259
</tbody>
4360
</table>
4461

4562

4663

47-
<!-- ### Options inherited from parent commands -->
64+
<!--
65+
### Options inherited from parent commands
66+
-->
4867
### 继承于父命令的选项
4968

5069
<table style="width: 100%; table-layout: fixed;">
@@ -59,11 +78,8 @@ kubeadm upgrade node phase preflight [flags]
5978
</tr>
6079
<tr>
6180
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td> -->
62-
<td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] 到'真实'主机根文件系统的路径。</td>
81+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[实验] 到'真实'主机根文件系统的路径。</p></td>
6382
</tr>
6483

6584
</tbody>
6685
</table>
67-
68-
69-

0 commit comments

Comments
 (0)