Skip to content

Commit 919f5e9

Browse files
authored
Merge pull request #42805 from windsonsea/upgrade2
[zh] sync kubeadm_upgrade 5 files
2 parents 54c666d + 497b8f8 commit 919f5e9

File tree

5 files changed

+60
-73
lines changed

5 files changed

+60
-73
lines changed

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

Lines changed: 9 additions & 24 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 conent, 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
Upgrade commands for a node in the cluster
143
-->
15-
升级集群中某个节点的命令
4+
升级集群中某个节点的命令
165

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

2311
<!--
2412
Upgrade commands for a node in the cluster
2513
-->
26-
升级集群中某个节点的命令
14+
升级集群中某个节点的命令
2715

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

3421
<!--
@@ -38,7 +25,6 @@ control-plane Upgrade the control plane instance deployed on this node, if any
3825
kubelet-config Upgrade the kubelet configuration for this node
3926
```
4027
-->
41-
4228
```
4329
preflight 执行节点升级前检查
4430
control-plane 如果存在的话,升级部署在该节点上的管理面实例
@@ -52,7 +38,6 @@ kubeadm upgrade node [flags]
5238
<!--
5339
### Options
5440
-->
55-
5641
### 选项
5742

5843
<table style="width: 100%; table-layout: fixed;">
@@ -71,7 +56,7 @@ kubeadm upgrade node [flags]
7156
Perform the renewal of certificates used by component changed during upgrades.
7257
-->
7358
<p>
74-
对升级期间变化的组件所使用的证书执行更新
59+
对升级期间变化的组件所使用的证书执行续订
7560
</p>
7661
</td>
7762
</tr>
@@ -117,7 +102,7 @@ Perform the upgrade of etcd.
117102
help for node
118103
-->
119104
<p>
120-
node 操作的帮助命令
105+
node 操作的帮助命令
121106
</p>
122107
</td>
123108
</tr>
@@ -128,11 +113,10 @@ node 操作的帮助命令
128113
<tr>
129114
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
130115
<!-- A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks. -->
131-
其错误将显示为警告的检查列表。示例:'IsPrivilegedUser,Swap'。 值 'all' 忽略所有检查中的错误。
116+
其错误将显示为警告的检查列表。示例:'IsPrivilegedUser,Swap'。值 'all' 忽略所有检查中的错误。
132117
</p></td>
133118
</tr>
134119

135-
136120
<tr>
137121
<!--
138122
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
@@ -155,7 +139,9 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
155139
</tr>
156140
<tr>
157141
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
158-
<!-- 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. -->
142+
<!--
143+
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.
144+
-->
159145
包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
160146
例如,&quot;kube-apiserver0+merge.yaml&quot;或仅仅是 &quot;etcd.json&quot;
161147
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot;&quot;kubeletconfiguration&quot; 之一。
@@ -177,7 +163,7 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
177163
List of phases to be skipped
178164
-->
179165
<p>
180-
要跳过的阶段的列表
166+
要跳过的阶段的列表
181167
</p>
182168
</td>
183169
</tr>
@@ -188,7 +174,6 @@ List of phases to be skipped
188174
<!--
189175
### Options inherited from parent commands
190176
-->
191-
192177
### 从父命令继承的选项
193178

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

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

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

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

2311
<!--
2412
Use this command to invoke single phase of the node workflow
2513
-->
26-
27-
使用此命令调用 node 工作流的某个阶段
14+
使用此命令调用 node 工作流的某个阶段。
2815

2916
<!--
3017
### Options
3118
-->
32-
3319
### 选项
3420

3521
<table style="width: 100%; table-layout: fixed;">
@@ -48,7 +34,7 @@ Use this command to invoke single phase of the node workflow
4834
help for phase
4935
-->
5036
<p>
51-
phase 操作的帮助命令
37+
phase 操作的帮助命令
5238
</p>
5339
</td>
5440
</tr>

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

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<!--
22
Upgrade the kubelet configuration for this node
33
-->
4-
升级此节点的 kubelet 配置
5-
6-
<!-- ### Synopsis -->
4+
升级此节点的 kubelet 配置。
75

6+
<!--
7+
### Synopsis
8+
-->
89
### 概要
910

1011
<!--
1112
Download the kubelet configuration from the kubelet-config ConfigMap stored in the cluster
1213
-->
13-
14-
从集群中 ConfigMap kubelet-config 下载 kubelet 配置
14+
从集群中 ConfigMap kubelet-config 下载 kubelet 配置。
1515

1616
```
1717
kubeadm upgrade node phase kubelet-config [flags]
@@ -20,7 +20,6 @@ kubeadm upgrade node phase kubelet-config [flags]
2020
<!--
2121
### Options
2222
-->
23-
2423
### 选项
2524

2625
<table style="width: 100%; table-layout: fixed;">
@@ -39,7 +38,7 @@ kubeadm upgrade node phase kubelet-config [flags]
3938
Do not change any state, just output the actions that would be performed.
4039
-->
4140
<p>
42-
不改变任何状态,只输出将要执行的操作
41+
不改变任何状态,只输出将要执行的操作
4342
</p>
4443
</td>
4544
</tr>
@@ -53,7 +52,7 @@ Do not change any state, just output the actions that would be performed.
5352
help for kubelet-config
5453
-->
5554
<p>
56-
kubelet-config 操作的帮助信息
55+
kubelet-config 操作的帮助命令。
5756
</p>
5857
</td>
5958
</tr>
@@ -72,7 +71,7 @@ kubelet-config 操作的帮助信息
7271
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.
7372
-->
7473
<p>
75-
用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。
74+
用于和集群通信的 kubeconfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 kubeconfig 文件。
7675
</p>
7776
</td>
7877
</tr>
@@ -97,12 +96,10 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
9796
</tbody>
9897
</table>
9998

100-
101-
### 从父命令继承的选项
102-
10399
<!--
104100
### Options inherited from parent commands
105101
-->
102+
### 从父命令继承的选项
106103

107104
<table style="width: 100%; table-layout: fixed;">
108105
<colgroup>
@@ -127,4 +124,3 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
127124

128125
</tbody>
129126
</table>
130-

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

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--
22
Run upgrade node pre-flight checks
33
-->
4-
执行升级节点的预检
4+
执行升级节点的预检
55

66
<!--
77
### Synopsis
@@ -33,18 +33,28 @@ kubeadm upgrade node phase preflight [flags]
3333
<td colspan="2">-h, --help</td>
3434
</tr>
3535
<tr>
36-
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;">help for preflight</td> -->
37-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>preflight 操作的帮助命令</p></td>
36+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
37+
<p>
38+
<!--
39+
help for preflight
40+
-->
41+
preflight 操作的帮助命令。
42+
</p>
43+
</td>
3844
</tr>
3945

4046
<tr>
4147
<td colspan="2">--ignore-preflight-errors strings</td>
4248
</tr>
4349
<tr>
44-
<!--
45-
<td></td><td style="line-height: 130%; word-wrap: break-word;">A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</td>
50+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
51+
<p>
52+
<!--
53+
A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
4654
-->
47-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>错误将显示为警告的检查清单。示例:'IsPrivilegedUser,Swap'。值为'all'表示忽略所有检查的错误。</p></td>
55+
错误将显示为警告的检查清单。示例:'IsPrivilegedUser,Swap'。值为 'all' 表示忽略所有检查的错误。
56+
</p>
57+
</td>
4858
</tr>
4959

5060
</tbody>
@@ -66,10 +76,15 @@ kubeadm upgrade node phase preflight [flags]
6676
<td colspan="2">--rootfs string</td>
6777
</tr>
6878
<tr>
69-
<!-- <td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td> -->
70-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[实验] 到'真实'主机根文件系统的路径。</p></td>
79+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
80+
<p>
81+
<!--
82+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
83+
-->
84+
[实验] 指向 “真实” 主机根文件系统的路径。
85+
</p>
86+
</td>
7187
</tr>
7288

7389
</tbody>
7490
</table>
75-

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

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ kubeadm upgrade plan [version] [flags]
3232
Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.
3333
-->
3434
<p>
35-
显示不稳定版本的 Kubernetes 作为升级替代方案,并允许升级到 Kubernetes 的 Alpha/Beta/发行候选版本
35+
显示不稳定版本的 Kubernetes 作为升级替代方案,并允许升级到 Kubernetes 的 AlphaBeta 或 RC 版本
3636
</p>
3737
</td>
3838
</tr>
@@ -46,7 +46,7 @@ Show unstable versions of Kubernetes as an upgrade alternative and allow upgradi
4646
Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.
4747
-->
4848
<p>
49-
显示 Kubernetes 的发行候选版本作为升级选择,并允许升级到 Kubernetes 的发行候选版本
49+
显示 Kubernetes 的发行候选版本作为升级选择,并允许升级到 Kubernetes 的 RC 版本
5050
</p>
5151
</td>
5252
</tr>
@@ -71,13 +71,18 @@ Path to a kubeadm configuration file.
7171
<tr>
7272
<td></td><td style="line-height: 130%; word-wrap: break-word;">
7373
<!--
74-
A set of key=value pairs that describe feature gates for various features. Options are:<br/>EtcdLearnerMode=true|false (ALPHA - default=false)<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)
74+
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
75+
EtcdLearnerMode=true|false (ALPHA - default=false)<br/>
76+
PublicKeysECDSA=true|false (ALPHA - default=false)<br/>
77+
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
78+
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)
7579
-->
7680
<p>
77-
一组描述各种特征特性门控的键值对。选项有:
78-
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
79-
<br/>EtcdLearnerMode=true|false (ALPHA - 默认值=false)
80-
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
81+
一组描述各种特征特性门控的键值对。选项有:<br/>
82+
EtcdLearnerMode=true|false (ALPHA - 默认值=false)<br/>
83+
PublicKeysECDSA=true|false (ALPHA - 默认值=false)<br/>
84+
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
85+
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)
8186
</p>
8287
</td>
8388
</tr>
@@ -91,7 +96,7 @@ A set of key=value pairs that describe feature gates for various features. Optio
9196
help for plan
9297
-->
9398
<p>
94-
plan 的帮助信息
99+
plan 操作的帮助命令。
95100
</p>
96101
</td>
97102
</tr>
@@ -105,7 +110,7 @@ plan 的帮助信息
105110
A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
106111
-->
107112
<p>
108-
其错误将显示为警告的检查列表。例如:'IsPrivilegedUser,Swap'。 值 'all' 忽略所有检查错误。
113+
其错误将显示为警告的检查列表。例如:'IsPrivilegedUser,Swap'。值 'all' 忽略所有检查错误。
109114
</p>
110115
</td>
111116
</tr>
@@ -196,7 +201,7 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
196201
[EXPERIMENTAL] The path to the 'real' host root filesystem.
197202
-->
198203
<p>
199-
[EXPERIMENTAL] “真实”主机根文件系统的路径
204+
[实验] 指向 “真实” 宿主机根文件系统的路径
200205
</p>
201206
</td>
202207
</tr>

0 commit comments

Comments
 (0)