Skip to content

Commit 827ac59

Browse files
committed
[zh-cn]sync kubeadm_join_phase_control-plane-{join,join_all}
Signed-off-by: xin.li <[email protected]>
1 parent 7b52646 commit 827ac59

File tree

3 files changed

+51
-50
lines changed

3 files changed

+51
-50
lines changed

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

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!--
2-
Use this command to invoke single phase of the "join" workflow
3-
-->
4-
使用此命令来调用 `join` 工作流程的某个阶段。
5-
61
<!--
72
### Synopsis
83
-->
@@ -13,7 +8,7 @@ Use this command to invoke single phase of the "join" workflow
138
-->
149
使用此命令来调用 `join` 工作流程的某个阶段。
1510

16-
```
11+
```shell
1712
kubeadm join phase [flags]
1813
```
1914

@@ -22,7 +17,7 @@ kubeadm join 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" />
@@ -34,10 +29,12 @@ kubeadm join phase [flags]
3429
</tr>
3530
<tr>
3631
<td></td><td style="line-height: 130%; word-wrap: break-word;">
32+
<p>
3733
<!--
38-
<p>help for phase</p>
34+
help for phase
3935
-->
40-
<p>phase 操作的帮助命令。</p>
36+
phase 操作的帮助命令。
37+
</p>
4138
</td>
4239
</tr>
4340

@@ -61,10 +58,12 @@ kubeadm join phase [flags]
6158
</tr>
6259
<tr>
6360
<td></td><td style="line-height: 130%; word-wrap: break-word;">
61+
<p>
6462
<!--
65-
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
63+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
6664
-->
67-
<p>[实验] 指向 '真实' 宿主机根文件系统的路径。</p>
65+
[实验] 指向 '真实' 宿主机根文件系统的路径。
66+
</p>
6867
</td>
6968
</tr>
7069

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_join/kubeadm_join_phase_control-plane-join.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!--
2-
Join a machine as a control plane instance
3-
-->
4-
添加作为控制平面实例的机器。
5-
61
<!--
72
### Synopsis
83
-->
@@ -13,7 +8,7 @@ Join a machine as a control plane instance
138
-->
149
添加作为控制平面实例的机器。
1510

16-
```
11+
```shell
1712
kubeadm join phase control-plane-join [flags]
1813
```
1914

@@ -28,8 +23,7 @@ kubeadm join phase control-plane-join [flags]
2823
kubeadm join phase control-plane-join all
2924
```
3025
-->
31-
32-
```
26+
```shell
3327
# 将机器作为控制平面实例加入
3428
kubeadm join phase control-plane-join all
3529
```
@@ -39,7 +33,7 @@ kubeadm join phase control-plane-join all
3933
-->
4034
### 选项
4135

42-
<table style="width: 100%; table-layout: fixed;">
36+
<table style="width: 100%; table-layout: fixed;">
4337
<colgroup>
4438
<col span="1" style="width: 10px;" />
4539
<col span="1" />
@@ -50,11 +44,12 @@ kubeadm join phase control-plane-join all
5044
<td colspan="2">-h, --help</td>
5145
</tr>
5246
<tr>
53-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
47+
<td></td>
48+
<td style="line-height: 130%; word-wrap: break-word;">
49+
<p>
5450
<!--
5551
help for control-plane-join
5652
-->
57-
<p>
5853
control-plane-join 操作的帮助命令。
5954
</p>
6055
</td>
@@ -68,7 +63,7 @@ control-plane-join 操作的帮助命令。
6863
-->
6964
### 从父命令中继承的选项
7065

71-
<table style="width: 100%; table-layout: fixed;">
66+
<table style="width: 100%; table-layout: fixed;">
7267
<colgroup>
7368
<col span="1" style="width: 10px;" />
7469
<col span="1" />
@@ -79,11 +74,12 @@ control-plane-join 操作的帮助命令。
7974
<td colspan="2">--rootfs string</td>
8075
</tr>
8176
<tr>
82-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
77+
<td></td>
78+
<td style="line-height: 130%; word-wrap: break-word;">
79+
<p>
8380
<!--
8481
[EXPERIMENTAL] The path to the 'real' host root filesystem.
8582
-->
86-
<p>
8783
[实验] 到 '真实' 主机根文件系统的路径。
8884
</p>
8985
</td>

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_join/kubeadm_join_phase_control-plane-join_all.md

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!--
2-
Join a machine as a control plane instance
3-
-->
4-
添加作为控制平面实例的机器。
5-
61
<!--
72
### Synopsis
83
-->
@@ -13,7 +8,7 @@ Join a machine as a control plane instance
138
-->
149
添加作为控制平面实例的机器。
1510

16-
```
11+
```shell
1712
kubeadm join phase control-plane-join all [flags]
1813
```
1914

@@ -22,7 +17,7 @@ kubeadm join phase control-plane-join all [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,12 +28,14 @@ kubeadm join phase control-plane-join all [flags]
3328
<td colspan="2">--apiserver-advertise-address string</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
<!--
3835
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.
3936
-->
40-
<p>
41-
如果该节点托管一个新的控制平面实例,则 API 服务器将公布其正在侦听的 IP 地址。如果未设置,则使用默认网络接口。
37+
如果该节点托管一个新的控制平面实例,则 API 服务器将公布其正在侦听的 IP 地址。
38+
如果未设置,则使用默认网络接口。
4239
</p>
4340
</td>
4441
</tr>
@@ -47,11 +44,12 @@ If the node should host a new control plane instance, the IP address the API Ser
4744
<td colspan="2">--config string</td>
4845
</tr>
4946
<tr>
50-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
47+
<td></td>
48+
<td style="line-height: 130%; word-wrap: break-word;">
49+
<p>
5150
<!--
5251
Path to a kubeadm configuration file.
5352
-->
54-
<p>
5553
kubeadm 配置文件的路径。
5654
</p>
5755
</td>
@@ -61,11 +59,12 @@ kubeadm 配置文件的路径。
6159
<td colspan="2">--control-plane</td>
6260
</tr>
6361
<tr>
64-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
62+
<td></td>
63+
<td style="line-height: 130%; word-wrap: break-word;">
64+
<p>
6565
<!--
6666
Create a new control plane instance on this node
6767
-->
68-
<p>
6968
在此节点上创建一个新的控制平面实例。
7069
</p>
7170
</td>
@@ -75,11 +74,12 @@ Create a new control plane instance on this node
7574
<td colspan="2">--dry-run</td>
7675
</tr>
7776
<tr>
78-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
77+
<td></td>
78+
<td style="line-height: 130%; word-wrap: break-word;">
79+
<p>
7980
<!--
8081
Don't apply any changes; just output what would be done.
8182
-->
82-
<p>
8383
不做任何更改;只输出将要执行的操作。
8484
</p>
8585
</td>
@@ -89,11 +89,12 @@ Don't apply any changes; just output what would be done.
8989
<td colspan="2">-h, --help</td>
9090
</tr>
9191
<tr>
92-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
92+
<td></td>
93+
<td style="line-height: 130%; word-wrap: break-word;">
94+
<p>
9395
<!--
9496
help for all
9597
-->
96-
<p>
9798
all 操作的帮助命令。
9899
</p>
99100
</td>
@@ -103,11 +104,12 @@ all 操作的帮助命令。
103104
<td colspan="2">--node-name string</td>
104105
</tr>
105106
<tr>
106-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
107+
<td></td>
108+
<td style="line-height: 130%; word-wrap: break-word;">
109+
<p>
107110
<!--
108111
Specify the node name.
109112
-->
110-
<p>
111113
指定节点名称。
112114
</p>
113115
</td>
@@ -117,7 +119,9 @@ Specify the node name.
117119
<td colspan="2">--patches string</td>
118120
</tr>
119121
<tr>
120-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
122+
<td></td>
123+
<td style="line-height: 130%; word-wrap: break-word;">
124+
<p>
121125
<!--
122126
Path to a directory that contains files named &quot;target[suffix][+patchtype].extension&quot;. For example, &quot;kube-apiserver0+merge.yaml&quot; or just &quot;etcd.json&quot;. &quot;target&quot; can be one of &quot;kube-apiserver&quot;, &quot;kube-controller-manager&quot;, &quot;kube-scheduler&quot;, &quot;etcd&quot;, &quot;kubeletconfiguration&quot;. &quot;patchtype&quot; can be one of &quot;strategic&quot;, &quot;merge&quot; or &quot;json&quot; and they match the patch formats supported by kubectl. The default &quot;patchtype&quot; is &quot;strategic&quot;. &quot;extension&quot; must be either &quot;json&quot; or &quot;yaml&quot;. &quot;suffix&quot; is an optional string that can be used to determine which patches are applied first alpha-numerically.
123127
-->
@@ -127,7 +131,8 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
127131
“patchtype” 可以是 “strategic”、“merge” 或 “json”,它们匹配 kubectl 支持的补丁格式。
128132
默认的 “patchtype” 是 “strategic”。“extension” 必须是 “json” 或 “yaml”。
129133
“suffix” 是一个可选字符串,可用于基于字母数字顺序确定首先应用哪些补丁。
130-
</p></td>
134+
</p>
135+
</td>
131136
</tr>
132137

133138
</tbody>
@@ -138,7 +143,7 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
138143
-->
139144
### 从父命令继承的选项
140145

141-
<table style="width: 100%; table-layout: fixed;">
146+
<table style="width: 100%; table-layout: fixed;">
142147
<colgroup>
143148
<col span="1" style="width: 10px;" />
144149
<col span="1" />
@@ -149,11 +154,12 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
149154
<td colspan="2">--rootfs string</td>
150155
</tr>
151156
<tr>
152-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
157+
<td></td>
158+
<td style="line-height: 130%; word-wrap: break-word;">
159+
<p>
153160
<!--
154161
[EXPERIMENTAL] The path to the 'real' host root filesystem.
155162
-->
156-
<p>
157163
[实验] 到 '真实' 主机根文件系统的路径。
158164
</p>
159165
</td>

0 commit comments

Comments
 (0)