Skip to content

Commit daa6523

Browse files
authored
Merge pull request #53096 from my-git9/npe-30314
[zh-cn]sync kubeadm_init_phase_certs_apiserver-etcd-client kubeadm_init_phase
2 parents 2f4195b + 0fbb53c commit daa6523

File tree

2 files changed

+60
-40
lines changed

2 files changed

+60
-40
lines changed

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!--
2-
Use this command to invoke single phase of the "init" workflow
3-
-->
4-
使用此命令可以调用 "init" 工作流程的单个阶段。
5-
61
<!--
72
### Synopsis
83
-->
@@ -22,7 +17,7 @@ kubeadm init phase [flags]
2217
-->
2318
### 选项
2419

25-
<table style="width: 100%; table-layout: fixed;">
20+
<table style="width: 100%; table-layout: fixed;">
2621
<colgroup>
2722
<col span="1" style="width: 10px;" />
2823
<col span="1" />
@@ -33,11 +28,14 @@ kubeadm init phase [flags]
3328
<td colspan="2">-h, --help</td>
3429
</tr>
3530
<tr>
36-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
31+
<td></td>
32+
<td style="line-height: 130%; word-wrap: break-word;">
33+
<p>
3734
<!--
38-
<p>help for phase</p>
35+
help for phase</p>
3936
-->
40-
<p>phase 操作的帮助命令。</p>
37+
phase 操作的帮助命令。
38+
</p>
4139
</td>
4240
</tr>
4341

@@ -49,7 +47,7 @@ kubeadm init phase [flags]
4947
-->
5048
### 继承于父命令的选择项
5149

52-
<table style="width: 100%; table-layout: fixed;">
50+
<table style="width: 100%; table-layout: fixed;">
5351
<colgroup>
5452
<col span="1" style="width: 10px;" />
5553
<col span="1" />
@@ -60,11 +58,14 @@ kubeadm init phase [flags]
6058
<td colspan="2">--rootfs string</td>
6159
</tr>
6260
<tr>
63-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
61+
<td></td>
62+
<td style="line-height: 130%; word-wrap: break-word;">
63+
<p>
6464
<!--
65-
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
65+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
6666
-->
67-
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
67+
[实验] 到 '真实' 主机根文件系统的路径。
68+
</p>
6869
</td>
6970
</tr>
7071

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init/kubeadm_init_phase_certs_apiserver-etcd-client.md

Lines changed: 46 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!--
2-
Generate the certificate the apiserver uses to access etcd
3-
-->
4-
生成 apiserver 用来访问 etcd 的证书。
5-
61
<!--
72
### Synopsis
83
-->
@@ -11,14 +6,15 @@ Generate the certificate the apiserver uses to access etcd
116
<!--
127
Generate the certificate the apiserver uses to access etcd, and save them into apiserver-etcd-client.crt and apiserver-etcd-client.key files.
138
-->
14-
生成 apiserver 用于访问 etcd 的证书,并将其保存到 apiserver-etcd-client.crt 和 apiserver-etcd-client.key 文件中。
9+
生成 apiserver 用于访问 etcd 的证书,并将其保存到 `apiserver-etcd-client.crt`
10+
`apiserver-etcd-client.key` 文件中。
1511

1612
<!--
1713
If both files already exist, kubeadm skips the generation step and existing files will be used.
1814
-->
1915
如果两个文件都已存在,则 kubeadm 将跳过生成步骤,使用现有文件。
2016

21-
```
17+
```shell
2218
kubeadm init phase certs apiserver-etcd-client [flags]
2319
```
2420

@@ -27,7 +23,7 @@ kubeadm init phase certs apiserver-etcd-client [flags]
2723
-->
2824
### 选项
2925

30-
<table style="width: 100%; table-layout: fixed;">
26+
<table style="width: 100%; table-layout: fixed;">
3127
<colgroup>
3228
<col span="1" style="width: 10px;" />
3329
<col span="1" />
@@ -43,47 +39,62 @@ kubeadm init phase certs apiserver-etcd-client [flags]
4339
</td>
4440
</tr>
4541
<tr>
46-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
42+
<td></td>
43+
<td style="line-height: 130%; word-wrap: break-word;">
44+
<p>
4745
<!--
48-
<p>The path where to save and store the certificates.</p>
46+
The path where to save and store the certificates.
4947
-->
50-
<p>证书的存储路径。</p>
48+
证书的存储路径。
49+
</p>
5150
</td>
5251
</tr>
5352

5453
<tr>
5554
<td colspan="2">--config string</td>
5655
</tr>
5756
<tr>
58-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
57+
<td>
58+
</td>
59+
<td style="line-height: 130%; word-wrap: break-word;">
60+
<p>
5961
<!--
60-
<p>Path to a kubeadm configuration file.</p>
62+
Path to a kubeadm configuration file.
6163
-->
62-
<p>kubeadm 配置文件的路径。</p>
64+
kubeadm 配置文件的路径。
65+
</p>
6366
</td>
6467
</tr>
6568

6669
<tr>
6770
<td colspan="2">--dry-run</td>
6871
</tr>
6972
<tr>
70-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
73+
<td>
74+
</td>
75+
<td style="line-height: 130%; word-wrap: break-word;">
76+
<p>
7177
<!--
72-
<p>Don't apply any changes; just output what would be done.</p>
78+
Don't apply any changes; just output what would be done.
7379
-->
74-
<p>不做任何更改;只输出将要执行的操作。</p>
80+
不做任何更改;只输出将要执行的操作。
81+
</p>
7582
</td>
7683
</tr>
7784

7885
<tr>
7986
<td colspan="2">-h, --help</td>
8087
</tr>
8188
<tr>
82-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
89+
<td>
90+
</td>
91+
<td style="line-height: 130%; word-wrap: break-word;">
92+
<p>
8393
<!--
84-
<p>help for apiserver-etcd-client</p>
94+
help for apiserver-etcd-client
8595
-->
86-
<p>apiserver-etcd-client 操作的帮助命令。</p>
96+
apiserver-etcd-client 操作的帮助命令。
97+
</p>
8798
</td>
8899
</tr>
89100

@@ -94,11 +105,15 @@ kubeadm init phase certs apiserver-etcd-client [flags]
94105
</td>
95106
</tr>
96107
<tr>
97-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
108+
<td>
109+
</td>
110+
<td style="line-height: 130%; word-wrap: break-word;">
111+
<p>
98112
<!--
99-
<p>Choose a specific Kubernetes version for the control plane.</p>
113+
Choose a specific Kubernetes version for the control plane.
100114
-->
101-
<p>为控制平面指定特定的 Kubernetes 版本。</p>
115+
为控制平面指定特定的 Kubernetes 版本。
116+
</p>
102117
</td>
103118
</tr>
104119

@@ -110,7 +125,7 @@ kubeadm init phase certs apiserver-etcd-client [flags]
110125
-->
111126
### 继承于父命令的选项
112127

113-
<table style="width: 100%; table-layout: fixed;">
128+
<table style="width: 100%; table-layout: fixed;">
114129
<colgroup>
115130
<col span="1" style="width: 10px;" />
116131
<col span="1" />
@@ -121,11 +136,15 @@ kubeadm init phase certs apiserver-etcd-client [flags]
121136
<td colspan="2">--rootfs string</td>
122137
</tr>
123138
<tr>
124-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
139+
<td>
140+
</td>
141+
<td style="line-height: 130%; word-wrap: break-word;">
142+
<p>
125143
<!--
126-
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
144+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
127145
-->
128-
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
146+
[实验] 到 '真实' 主机根文件系统的路径。
147+
</p>
129148
</td>
130149
</tr>
131150

0 commit comments

Comments
 (0)