Skip to content

Commit 1b9c4c2

Browse files
authored
Merge pull request #21234 from tengqm/fix-zh-tables
[zh] Fix table format for kubeadm commands
2 parents 81a65d7 + b719fcc commit 1b9c4c2

File tree

108 files changed

+10996
-10988
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+10996
-10988
lines changed

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

Lines changed: 61 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<!--
33
### Synopsis
44
-->
5-
### 摘要
6-
75

6+
### 摘要
87

98
<!--
109
┌──────────────────────────────────────────────────────────┐
@@ -15,25 +14,30 @@
1514
│ https://github.com/kubernetes/kubeadm/issues │
1615
└──────────────────────────────────────────────────────────┘
1716
-->
18-
┌──────────────────────────────────────────────────────────┐
19-
│ KUBEADM │
20-
│ 轻松创建一个安全的 Kubernetes 集群 │
21-
│ │
22-
│ 给我们反馈意见的地址: │
23-
│ https://github.com/kubernetes/kubeadm/issues │
24-
└──────────────────────────────────────────────────────────┘
17+
18+
```
19+
┌──────────────────────────────────────────────────────────┐
20+
│ KUBEADM │
21+
│ 轻松创建一个安全的 Kubernetes 集群 │
22+
│ │
23+
│ 给我们反馈意见的地址: │
24+
│ https://github.com/kubernetes/kubeadm/issues │
25+
└──────────────────────────────────────────────────────────┘
26+
```
2527

2628
<!--
2729
Example usage:
2830
-->
31+
2932
用途示例:
3033

3134
<!--
3235
Create a two-machine cluster with one control-plane node
3336
(which controls the cluster), and one worker node
3437
(where your workloads, like Pods and Deployments run).
3538
-->
36-
创建一个有两台机器的集群,包含一个主节点(用来控制集群),和一个工作节点(运行您的工作负载,像 Pod 和 Deployment)。
39+
40+
创建一个有两台机器的集群,包含一个主节点(用来控制集群),和一个工作节点(运行您的工作负载,像 Pod 和 Deployment)。
3741

3842
<!--
3943
┌──────────────────────────────────────────────────────────┐
@@ -50,56 +54,60 @@ Example usage:
5054
5155
You can then repeat the second step on as many other machines as you like.
5256
-->
53-
┌──────────────────────────────────────────────────────────┐
54-
│ 在第一台机器上: │
55-
├──────────────────────────────────────────────────────────┤
56-
│ control-plane# kubeadm init │
57-
└──────────────────────────────────────────────────────────┘
5857

59-
┌──────────────────────────────────────────────────────────┐
60-
│ 在第二台机器上: │
61-
├──────────────────────────────────────────────────────────┤
62-
│ worker# kubeadm join &lt;arguments-returned-from-init&gt; │
63-
└──────────────────────────────────────────────────────────┘
58+
```
59+
┌──────────────────────────────────────────────────────────┐
60+
│ 在第一台机器上: │
61+
├──────────────────────────────────────────────────────────┤
62+
│ control-plane# kubeadm init │
63+
└──────────────────────────────────────────────────────────┘
64+
65+
┌──────────────────────────────────────────────────────────┐
66+
│ 在第二台机器上: │
67+
├──────────────────────────────────────────────────────────┤
68+
│ worker# kubeadm join &lt;arguments-returned-from-init&gt;│
69+
└──────────────────────────────────────────────────────────┘
70+
```
6471

65-
您可以重复第二步,向集群添加更多机器。
72+
您可以重复第二步,向集群添加更多机器。
6673

6774
<!--
6875
### Options
6976
-->
77+
7078
### 选项
7179

72-
<table style="width: 100%; table-layout: fixed;">
73-
<colgroup>
74-
<col span="1" style="width: 10px;" />
75-
<col span="1" />
76-
</colgroup>
77-
<tbody>
78-
79-
<tr>
80-
<td colspan="2">-h, --help</td>
81-
</tr>
82-
<tr>
83-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
84-
<!--
85-
help for kubeadm
86-
-->
87-
kubeadm 操作的帮助信息
88-
</td>
89-
</tr>
90-
91-
<tr>
92-
<td colspan="2">--rootfs string</td>
93-
</tr>
94-
<tr>
95-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
96-
<!--
97-
[EXPERIMENTAL] The path to the 'real' host root filesystem.
98-
-->
99-
[实验] 指向 '真实' 宿主机根文件系统的路径。
100-
</td>
101-
</tr>
102-
103-
</tbody>
80+
<table style="width: 100%; table-layout: fixed;">
81+
<colgroup>
82+
<col span="1" style="width: 10px;" />
83+
<col span="1" />
84+
</colgroup>
85+
<tbody>
86+
87+
<tr>
88+
<td colspan="2">-h, --help</td>
89+
</tr>
90+
<tr>
91+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
92+
<!--
93+
help for kubeadm
94+
-->
95+
kubeadm 操作的帮助信息
96+
</td>
97+
</tr>
98+
99+
<tr>
100+
<td colspan="2">--rootfs string</td>
101+
</tr>
102+
<tr>
103+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
104+
<!--
105+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
106+
-->
107+
[实验] 指向 '真实' 宿主机根文件系统的路径。
108+
</td>
109+
</tr>
110+
111+
</tbody>
104112
</table>
105113

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

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,67 +2,68 @@
22
<!--
33
### Synopsis
44
-->
5-
### 概要
65

6+
### 概要
77

88
<!--
99
Kubeadm experimental sub-commands
1010
-->
11+
1112
kubeadm 实验子命令
1213

1314
<!--
1415
### Options
1516
-->
17+
1618
### 选项
1719

18-
<table style="width: 100%; table-layout: fixed;">
19-
<colgroup>
20-
<col span="1" style="width: 10px;" />
21-
<col span="1" />
22-
</colgroup>
23-
<tbody>
20+
<table style="width: 100%; table-layout: fixed;">
21+
<colgroup>
22+
<col span="1" style="width: 10px;" />
23+
<col span="1" />
24+
</colgroup>
25+
<tbody>
2426

25-
<tr>
26-
<td colspan="2">-h, --help</td>
27-
</tr>
28-
<tr>
29-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
30-
<!--
31-
help for alpha
32-
-->
33-
alpha 操作的帮助命令
34-
</td>
35-
</tr>
27+
<tr>
28+
<td colspan="2">-h, --help</td>
29+
</tr>
30+
<tr>
31+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
32+
<!--
33+
help for alpha
34+
-->
35+
alpha 操作的帮助命令
36+
</td>
37+
</tr>
3638

37-
</tbody>
39+
</tbody>
3840
</table>
3941

40-
41-
4242
<!--
4343
### Options inherited from parent commands
4444
-->
45+
4546
### 从父命令继承的选项
4647

47-
<table style="width: 100%; table-layout: fixed;">
48-
<colgroup>
49-
<col span="1" style="width: 10px;" />
50-
<col span="1" />
51-
</colgroup>
52-
<tbody>
48+
<table style="width: 100%; table-layout: fixed;">
49+
<colgroup>
50+
<col span="1" style="width: 10px;" />
51+
<col span="1" />
52+
</colgroup>
53+
<tbody>
5354

54-
<tr>
55-
<td colspan="2">--rootfs string</td>
56-
</tr>
57-
<tr>
58-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
59-
<!--
60-
[EXPERIMENTAL] The path to the 'real' host root filesystem.
61-
-->
62-
[实验] 指向 '真实' 宿主机的根文件系统的路径。
63-
</td>
64-
</tr>
55+
<tr>
56+
<td colspan="2">--rootfs string</td>
57+
</tr>
58+
<tr>
59+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
60+
<!--
61+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
62+
-->
63+
[实验] 指向 '真实' 宿主机的根文件系统的路径。
64+
</td>
65+
</tr>
6566

66-
</tbody>
67+
</tbody>
6768
</table>
6869

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

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
<!--
33
### Synopsis
44
-->
5-
### 概要
6-
75

6+
### 概要
87

98
<!--
109
This command will print out a secure randomly-generated certificate key that can be used with
1110
the "init" command.
1211
-->
13-
该命令将打印出可以与 “init” 命令一起使用的安全随机生成的证书密钥。
12+
13+
该命令将打印出可以与 "init" 命令一起使用的安全的随机生成的证书密钥。
1414

1515
<!--
16-
You can also use "kubeadm init --upload-certs" without specifying a certificate key and it will generate and print one for you.
16+
You can also use "kubeadm init -upload-certs" without specifying a certificate key and it will generate and print one for you.
1717
-->
18-
您也可以使用 “kubeadm init --upload-certs” 而无需指定证书密钥,它将为您生成并打印一个证书密钥。
1918

19+
您也可以使用 `kubeadm init --upload-certs` 而无需指定证书密钥,它将为您生成并打印一个证书密钥。
2020

2121
```
2222
kubeadm alpha certs certificate-key [flags]
@@ -25,56 +25,56 @@ kubeadm alpha certs certificate-key [flags]
2525
<!--
2626
### Options
2727
-->
28-
### 选项
2928

30-
<table style="width: 100%; table-layout: fixed;">
31-
<colgroup>
32-
<col span="1" style="width: 10px;" />
33-
<col span="1" />
34-
</colgroup>
35-
<tbody>
36-
37-
<tr>
38-
<td colspan="2">-h, --help</td>
39-
</tr>
40-
<tr>
41-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
42-
<!--
43-
help for certificate-key
44-
-->
45-
certificate-key 操作的帮助命令
46-
</td>
47-
</tr>
48-
49-
</tbody>
50-
</table>
29+
### 选项
5130

31+
<table style="width: 100%; table-layout: fixed;">
32+
<colgroup>
33+
<col span="1" style="width: 10px;" />
34+
<col span="1" />
35+
</colgroup>
36+
<tbody>
37+
38+
<tr>
39+
<td colspan="2">-h, --help</td>
40+
</tr>
41+
<tr>
42+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
43+
<!--
44+
help for certificate-key
45+
-->
46+
certificate-key 操作的帮助命令
47+
</td>
48+
</tr>
5249

50+
</tbody>
51+
</table>
5352

5453
<!--
5554
### Options inherited from parent commands
5655
-->
56+
5757
### 从父命令继承的选项
5858

59-
<table style="width: 100%; table-layout: fixed;">
60-
<colgroup>
61-
<col span="1" style="width: 10px;" />
62-
<col span="1" />
63-
</colgroup>
64-
<tbody>
65-
66-
<tr>
67-
<td colspan="2">--rootfs string</td>
68-
</tr>
69-
<tr>
70-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
71-
<!--
72-
[EXPERIMENTAL] The path to the 'real' host root filesystem.
73-
-->
74-
[实验] 到 '真实' 主机根文件系统的路径。
75-
</td>
76-
</tr>
77-
78-
</tbody>
59+
<table style="width: 100%; table-layout: fixed;">
60+
<colgroup>
61+
<col span="1" style="width: 10px;" />
62+
<col span="1" />
63+
</colgroup>
64+
<tbody>
65+
66+
<tr>
67+
<td colspan="2">--rootfs string</td>
68+
</tr>
69+
<tr>
70+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
71+
<!--
72+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
73+
-->
74+
[实验] 到 '真实' 主机根文件系统的路径。
75+
</td>
76+
</tr>
77+
78+
</tbody>
7979
</table>
8080

0 commit comments

Comments
 (0)