Skip to content

Commit 9e7165a

Browse files
committed
[zh] Sync /generated/kubeadm files
1 parent d7e023e commit 9e7165a

File tree

4 files changed

+32
-90
lines changed

4 files changed

+32
-90
lines changed

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

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
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-
12-
131
<!--
142
kubeadm: easily bootstrap a secure Kubernetes cluster
153
164
### Synopsis
175
-->
6+
kubeadm:轻松创建一个安全的 Kubernetes 集群
187

19-
kubeadm: 轻松创建一个安全的 Kubernetes 集群
208
### 摘要
219

2210
<!--
@@ -42,16 +30,14 @@ kubeadm: 轻松创建一个安全的 Kubernetes 集群
4230
<!--
4331
Example usage:
4432
-->
45-
4633
用途示例:
4734

4835
<!--
4936
Create a two-machine cluster with one control-plane node
5037
(which controls the cluster), and one worker node
51-
(where your workloads, like Pods and Deployments run).
38+
(where your workloads, like Pods and Deployments run).
5239
-->
53-
54-
创建一个有两台机器的集群,包含一个主节点(用来控制集群),和一个工作节点(运行你的工作负载,像 Pod 和 Deployment)。
40+
创建一个有两台机器的集群,包含一个主节点(用来控制集群)和一个工作节点(运行你的 Pod 和 Deployment 等工作负载)。
5541

5642
<!--
5743
┌──────────────────────────────────────────────────────────┐
@@ -71,13 +57,13 @@ Example usage:
7157

7258
```
7359
┌──────────────────────────────────────────────────────────┐
74-
│ 在第一台机器上: │
60+
│ 在第一台机器上:
7561
├──────────────────────────────────────────────────────────┤
7662
│ control-plane# kubeadm init │
7763
└──────────────────────────────────────────────────────────┘
7864
7965
┌──────────────────────────────────────────────────────────┐
80-
│ 在第二台机器上: │
66+
│ 在第二台机器上:
8167
├──────────────────────────────────────────────────────────┤
8268
│ worker# kubeadm join &lt;arguments-returned-from-init&gt;│
8369
└──────────────────────────────────────────────────────────┘
@@ -88,7 +74,6 @@ Example usage:
8874
<!--
8975
### Options
9076
-->
91-
9277
### 选项
9378

9479
<table style="width: 100%; table-layout: fixed;">
@@ -106,7 +91,7 @@ Example usage:
10691
<!--
10792
<p>help for kubeadm</p>
10893
-->
109-
<p>kubeadm 操作的帮助信息<p>
94+
<p>kubeadm 操作的帮助信息<p>
11095
</td>
11196
</tr>
11297

@@ -124,4 +109,3 @@ Example usage:
124109

125110
</tbody>
126111
</table>
127-

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_mark-control-plane.md

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
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
Mark a node as a control-plane
143
-->
15-
标记节点为控制平面节点
4+
标记节点为控制平面节点
165

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

2311
<!--
2412
Mark a node as a control-plane
2513
-->
26-
27-
标记 Node 节点为控制平面节点
14+
标记节点为控制平面节点。
2815

2916
```
3017
kubeadm init phase mark-control-plane [flags]
@@ -33,14 +20,18 @@ kubeadm init phase mark-control-plane [flags]
3320
<!--
3421
### Examples
3522
36-
# Applies control-plane label and taint to the current node, functionally equivalent to what executed by kubeadm init.
37-
# Applies control-plane label and taint to a specific node
23+
```
24+
# Applies control-plane label and taint to the current node, functionally equivalent to what executed by kubeadm init.
25+
kubeadm init phase mark-control-plane --config config.yaml
26+
27+
# Applies control-plane label and taint to a specific node
28+
kubeadm init phase mark-control-plane --node-name myNode
29+
```
3830
-->
39-
4031
### 示例
4132

4233
```
43-
# 将控制平面标签和污点应用于当前节点,其功能等效于 kubeadm init执行的操作。
34+
# 将控制平面标签和污点应用于当前节点,其功能等效于 kubeadm init 执行的操作
4435
kubeadm init phase mark-control-plane --config config.yaml
4536
4637
# 将控制平面标签和污点应用于特定节点
@@ -50,7 +41,6 @@ kubeadm init phase mark-control-plane --node-name myNode
5041
<!--
5142
### Options
5243
-->
53-
5444
### 选项
5545

5646
<table style="width: 100%; table-layout: fixed;">
@@ -92,7 +82,7 @@ kubeadm init phase mark-control-plane --node-name myNode
9282
<!--
9383
<p>help for mark-control-plane</p>
9484
-->
95-
<p>mark-control-plane 操作的帮助命令</p>
85+
<p>mark-control-plane 操作的帮助命令</p>
9686
</td>
9787
</tr>
9888

@@ -114,7 +104,6 @@ kubeadm init phase mark-control-plane --node-name myNode
114104
<!--
115105
### Options inherited from parent commands
116106
-->
117-
118107
### 从父命令继承的选项
119108

120109
<table style="width: 100%; table-layout: fixed;">
@@ -138,4 +127,3 @@ kubeadm init phase mark-control-plane --node-name myNode
138127

139128
</tbody>
140129
</table>
141-

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

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
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 pre-flight checks
143
-->
15-
运行启动检查
4+
运行预检。
165

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

2311
<!--
2412
Run pre-flight checks for kubeadm init.
2513
-->
26-
27-
运行 kubeadm init 前的启动检查。
14+
运行 kubeadm init 前的预检。
2815

2916
```
3017
kubeadm init phase preflight [flags]
@@ -33,22 +20,22 @@ kubeadm init phase preflight [flags]
3320
<!--
3421
### Examples
3522
-->
36-
37-
### 案例
23+
### 示例
3824

3925
<!--
40-
# Run pre-flight checks for kubeadm init using a config file.
26+
```
27+
# Run pre-flight checks for kubeadm init using a config file.
28+
kubeadm init phase preflight --config kubeadm-config.yaml
29+
```
4130
-->
42-
4331
```
44-
# 使用配置文件对 kubeadm init 进行启动检查。
32+
# 使用配置文件对 kubeadm init 进行预检
4533
kubeadm init phase preflight --config kubeadm-config.yaml
4634
```
4735

4836
<!--
4937
### Options
5038
-->
51-
5239
### 选项
5340

5441
<table style="width: 100%; table-layout: fixed;">
@@ -110,7 +97,7 @@ Don't apply any changes; just output what would be done.
11097
help for preflight
11198
-->
11299
<p>
113-
preflight 操作的帮助命令
100+
preflight 操作的帮助命令
114101
</p>
115102
</td>
116103
</tr>
@@ -124,7 +111,7 @@ preflight 操作的帮助命令
124111
A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
125112
-->
126113
<p>
127-
错误将显示为警告的检查列表例如:'IsPrivilegedUser,Swap'。取值为 'all' 时将忽略检查中的所有错误。
114+
错误将显示为警告的检查列表例如:'IsPrivilegedUser,Swap'。取值为 'all' 时将忽略检查中的所有错误。
128115
</p>
129116
</td>
130117
</tr>
@@ -135,7 +122,6 @@ A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedU
135122
<!--
136123
### Options inherited from parent commands
137124
-->
138-
139125
### 继承于父命令的选项
140126

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

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

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
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-
12-
131
<!--
142
Print the version of kubeadm
153
-->
16-
打印 kubeadm 的版本
4+
打印 kubeadm 的版本
175

186
<!--
197
### Synopsis
208
-->
21-
229
### 概要
2310

2411
<!--
2512
Print the version of kubeadm
2613
-->
27-
打印 kubeadm 的版本
14+
打印 kubeadm 的版本
2815

2916
```
3017
kubeadm version [flags]
@@ -33,7 +20,6 @@ kubeadm version [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

3925
<table style="width: 100%; table-layout: fixed;">
@@ -52,7 +38,7 @@ kubeadm version [flags]
5238
help for version
5339
-->
5440
<p>
55-
version 操作的帮助命令
41+
version 操作的帮助命令
5642
</p>
5743
</td>
5844
</tr>
@@ -66,7 +52,7 @@ version 操作的帮助命令
6652
Output format; available options are 'yaml', 'json' and 'short'
6753
-->
6854
<p>
69-
输出格式;可用的选项有 'yaml', 'json' 和 'short'
55+
输出格式;可用的选项有 'yaml''json' 和 'short'
7056
</p>
7157
</td>
7258
</tr>
@@ -77,9 +63,8 @@ Output format; available options are 'yaml', 'json' and 'short'
7763
<!--
7864
### Options inherited from parent commands
7965
-->
80-
8166
### 从父命令继承的选项
82-
67+
8368
<table style="width: 100%; table-layout: fixed;">
8469
<colgroup>
8570
<col span="1" style="width: 10px;" />
@@ -103,4 +88,3 @@ Output format; available options are 'yaml', 'json' and 'short'
10388

10489
</tbody>
10590
</table>
106-

0 commit comments

Comments
 (0)