Skip to content

Commit bd9e68d

Browse files
committed
[zh] sync kubeadm_reset files
1 parent 579d46e commit bd9e68d

File tree

4 files changed

+42
-80
lines changed

4 files changed

+42
-80
lines changed

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

Lines changed: 24 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,21 @@
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 content, 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-
121
<!--
132
Performs a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'
143
-->
15-
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所作的更改
4+
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所作的更改
165

176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
Performs a best effort revert of changes made to this host by 'kubeadm init' or 'kubeadm join'
2513
-->
26-
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所作的更改
14+
尽最大努力还原通过 'kubeadm init' 或者 'kubeadm join' 操作对主机所作的更改
2715

2816
<!--
2917
The "reset" command executes the following phases:
3018
-->
31-
3219
"reset" 命令执行以下阶段:
3320

3421
```
@@ -45,7 +32,6 @@ kubeadm reset [flags]
4532
<!--
4633
### Options
4734
-->
48-
4935
### 选项
5036

5137
<table style="width: 100%; table-layout: fixed;">
@@ -85,7 +71,21 @@ The path to the directory where the certificates are stored. If specified, clean
8571
Cleanup the &quot;/etc/kubernetes/tmp&quot; directory
8672
-->
8773
<p>
88-
清理 &quot;/etc/kubernetes/tmp&quot; 目录
74+
清理 &quot;/etc/kubernetes/tmp&quot; 目录。
75+
</p>
76+
</td>
77+
</tr>
78+
79+
<tr>
80+
<td colspan="2">--config string</td>
81+
</tr>
82+
<tr>
83+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
84+
<p>
85+
<!--
86+
Path to a kubeadm configuration file.
87+
-->
88+
kubeadm 配置文件的路径。
8989
</p>
9090
</td>
9191
</tr>
@@ -98,7 +98,8 @@ Cleanup the &quot;/etc/kubernetes/tmp&quot; directory
9898
<!--
9999
Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
100100
-->
101-
要连接的 CRI 套接字的路径。如果为空,则 kubeadm 将尝试自动检测此值;仅当安装了多个CRI 或具有非标准 CRI 插槽时,才使用此选项。
101+
要连接的 CRI 套接字的路径。如果为空,则 kubeadm 将尝试自动检测此值;
102+
仅当安装了多个 CRI 或存在非标准的 CRI 套接字时,才使用此选项。
102103
</p>
103104
</td>
104105
</tr>
@@ -114,11 +115,6 @@ Don't apply any changes; just output what would be done.
114115
-->
115116
不做任何更改;只输出将要执行的操作。
116117
</p>
117-
</td>
118-
119-
120-
121-
122118
</td>
123119
</tr>
124120

@@ -145,7 +141,7 @@ Reset the node without prompting for confirmation.
145141
<!--
146142
help for reset
147143
-->
148-
reset 操作的帮助命令
144+
reset 操作的帮助命令
149145
</p>
150146
</td>
151147
</tr>
@@ -191,21 +187,20 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
191187
<tr>
192188
<td></td><td style="line-height: 130%; word-wrap: break-word;">
193189
<p>
194-
<!-- List of phases to be skipped -->
195-
要跳过的阶段列表
190+
<!--
191+
List of phases to be skipped
192+
-->
193+
要跳过的阶段列表。
196194
</p>
197195
</td>
198196
</tr>
199197

200198
</tbody>
201199
</table>
202200

203-
204-
205201
<!--
206202
### Options inherited from parent commands
207203
-->
208-
209204
### 从父命令继承的选项
210205

211206
<table style="width: 100%; table-layout: fixed;">

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

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
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 content, 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-
121
<!--
132
Use this command to invoke single phase of the reset workflow
143
-->
15-
使用此命令来调用 `reset` 工作流程的某个阶段
4+
使用此命令来调用 `reset` 工作流程的某个阶段
165

176
<!--
187
### Synopsis
@@ -23,13 +12,11 @@ Use this command to invoke single phase of the reset workflow
2312
<!--
2413
Use this command to invoke single phase of the reset workflow
2514
-->
26-
27-
使用此命令来调用 `reset` 工作流程的某个阶段
15+
使用此命令来调用 `reset` 工作流程的某个阶段。
2816

2917
<!--
3018
### Options
3119
-->
32-
3320
### 选项
3421

3522
<table style="width: 100%; table-layout: fixed;">
@@ -48,7 +35,7 @@ Use this command to invoke single phase of the reset workflow
4835
help for phase
4936
-->
5037
<p>
51-
phase 操作的帮助命令
38+
phase 操作的帮助命令
5239
</p>
5340
</td>
5441
</tr>
@@ -59,7 +46,6 @@ phase 操作的帮助命令
5946
<!--
6047
### Options inherited from parent commands
6148
-->
62-
6349
### 从父命令继承的选项
6450

6551
<table style="width: 100%; table-layout: fixed;">
@@ -85,4 +71,3 @@ phase 操作的帮助命令
8571

8672
</tbody>
8773
</table>
88-

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

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
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 content, 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-
121
<!--
132
Run reset pre-flight checks
143
-->
15-
运行重置启动前检查
4+
kubeadm reset(重置)前运行启动前检查。
165

176
<!--
187
### Synopsis
@@ -23,7 +12,6 @@ Run reset pre-flight checks
2312
<!--
2413
Run pre-flight checks for kubeadm reset.
2514
-->
26-
2715
kubeadm reset(重置)前运行启动前检查。
2816

2917
```
@@ -33,7 +21,6 @@ kubeadm reset phase preflight [flags]
3321
<!--
3422
### Options
3523
-->
36-
3724
### 选项
3825

3926
<table style="width: 100%; table-layout: fixed;">
@@ -77,7 +64,7 @@ Don't apply any changes; just output what would be done.
7764
<!--
7865
<p>help for preflight</p>
7966
-->
80-
<p>preflight 操作的帮助命令</p>
67+
<p>preflight 操作的帮助命令</p>
8168
</td>
8269
</tr>
8370

@@ -99,7 +86,6 @@ Don't apply any changes; just output what would be done.
9986
<!--
10087
### Options inherited from parent commands
10188
-->
102-
10389
### 从父命令继承的选项
10490

10591
<table style="width: 100%; table-layout: fixed;">
@@ -123,4 +109,3 @@ Don't apply any changes; just output what would be done.
123109

124110
</tbody>
125111
</table>
126-

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_reset_phase_remove-etcd-member.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
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 content, 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-
121
<!--
132
Remove a local etcd member.
143
-->
@@ -45,7 +34,9 @@ kubeadm reset phase remove-etcd-member [flags]
4534
</tr>
4635
<tr>
4736
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
48-
<!-- Don't apply any changes; just output what would be done. -->
37+
<!--
38+
Don't apply any changes; just output what would be done.
39+
-->
4940
不做任何更改;只输出将要执行的操作。
5041
</p></td>
5142
</tr>
@@ -56,8 +47,10 @@ kubeadm reset phase remove-etcd-member [flags]
5647
<tr>
5748
<td></td><td style="line-height: 130%; word-wrap: break-word;">
5849
<p>
59-
<!-- help for remove-etcd-member -->
60-
remove-etcd-member 的帮助信息
50+
<!--
51+
help for remove-etcd-member
52+
-->
53+
remove-etcd-member 操作的帮助命令。
6154
</p></td>
6255
</tr>
6356

@@ -67,7 +60,9 @@ remove-etcd-member 的帮助信息
6760
<tr>
6861
<td></td><td style="line-height: 130%; word-wrap: break-word;">
6962
<p>
70-
<!-- 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. -->
63+
<!--
64+
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.
65+
-->
7166
与集群通信时使用的 Kubeconfig 文件。如果未设置该标志,则可以在默认位置中查找现有的 Kubeconfig 文件。
7267
</p>
7368
</td>
@@ -94,7 +89,9 @@ remove-etcd-member 的帮助信息
9489
<tr>
9590
<td></td><td style="line-height: 130%; word-wrap: break-word;">
9691
<p>
97-
<!-- [EXPERIMENTAL] The path to the 'real' host root filesystem.-->
92+
<!--
93+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
94+
-->
9895
[实验] 到'真实'主机根文件系统的路径。
9996
</p>
10097
</td>

0 commit comments

Comments
 (0)