Skip to content

Commit 0091626

Browse files
authored
Merge pull request #22268 from jiazxjason/patch-17
Update zh trans kubeadm_upgrade_plan.md
2 parents 0aa224d + b2d6501 commit 0091626

File tree

1 file changed

+105
-49
lines changed

1 file changed

+105
-49
lines changed
Lines changed: 105 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,147 +1,203 @@
11
<!--
2+
3+
```
24
### Synopsis
35
4-
Check which versions are available to upgrade to and validate whether your current cluster is upgradeable. To skip the internet check, pass in the optional [version] parameter
5-
-->
6-
### 概述
76
8-
检查可升级到哪些版本,并验证您当前的集群是否可升级。 要跳过互联网检查,请传递可选的 [version] 参数
7+
Check which versions are available to upgrade to and validate whether your current cluster is upgradeable. To skip the internet check, pass in the optional [version] parameter
98
10-
```
9+
```
1110
kubeadm upgrade plan [version] [flags]
12-
```
13-
<!--
11+
```
12+
1413
### Options
1514
15+
<table style="width: 100%; table-layout: fixed;">
16+
<colgroup>
17+
<col span="1" style="width: 10px;" />
18+
<col span="1" />
19+
</colgroup>
20+
<tbody>
21+
1622
<tr>
17-
<td colspan="2">--allow-experimental-upgrades</td>
23+
<td colspan="2">--allow-experimental-upgrades</td>
1824
</tr>
1925
<tr>
20-
<td></td><td style="line-height: 130%; word-wrap: break-word;">Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.</td>
26+
<td></td><td style="line-height: 130%; word-wrap: break-word;">Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.</td>
2127
</tr>
2228
2329
<tr>
24-
<td colspan="2">--allow-release-candidate-upgrades</td>
30+
<td colspan="2">--allow-release-candidate-upgrades</td>
2531
</tr>
2632
<tr>
27-
<td></td><td style="line-height: 130%; word-wrap: break-word;">Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.</td>
33+
<td></td><td style="line-height: 130%; word-wrap: break-word;">Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.</td>
2834
</tr>
2935
3036
<tr>
31-
<td colspan="2">--config string</td>
37+
<td colspan="2">--config string</td>
3238
</tr>
3339
<tr>
34-
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
40+
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
3541
</tr>
3642
3743
<tr>
38-
<td colspan="2">--feature-gates string</td>
44+
<td colspan="2">--feature-gates string</td>
3945
</tr>
4046
<tr>
41-
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/>IPv6DualStack=true|false (ALPHA - default=false)</td>
47+
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of key=value pairs that describe feature gates for various features. Options are:<br/>IPv6DualStack=true|false (ALPHA - default=false)<br/>PublicKeysECDSA=true|false (ALPHA - default=false)</td>
4248
</tr>
4349
4450
<tr>
45-
<td colspan="2">-h, --help</td>
51+
<td colspan="2">-h, --help</td>
4652
</tr>
4753
<tr>
48-
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for plan</td>
54+
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for plan</td>
4955
</tr>
5056
5157
<tr>
52-
<td colspan="2">--ignore-preflight-errors stringSlice</td>
58+
<td colspan="2">--ignore-preflight-errors stringSlice</td>
5359
</tr>
5460
<tr>
55-
<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>
61+
<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>
5662
</tr>
5763
5864
<tr>
59-
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
65+
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
6066
</tr>
6167
<tr>
62-
<td></td><td style="line-height: 130%; word-wrap: break-word;">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.</td>
68+
<td></td><td style="line-height: 130%; word-wrap: break-word;">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.</td>
6369
</tr>
6470
6571
<tr>
66-
<td colspan="2">--print-config</td>
72+
<td colspan="2">--print-config</td>
6773
</tr>
6874
<tr>
69-
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specifies whether the configuration file that will be used in the upgrade should be printed or not.</td>
75+
<td></td><td style="line-height: 130%; word-wrap: break-word;">Specifies whether the configuration file that will be used in the upgrade should be printed or not.</td>
7076
</tr>
71-
-->
72-
### 选项
77+
78+
</tbody>
79+
</table>
80+
81+
82+
83+
### Options inherited from parent commands
84+
85+
<table style="width: 100%; table-layout: fixed;">
86+
<colgroup>
87+
<col span="1" style="width: 10px;" />
88+
<col span="1" />
89+
</colgroup>
90+
<tbody>
7391
7492
<tr>
75-
<td colspan="2">--allow-experimental-upgrades</td>
93+
<td colspan="2">--rootfs string</td>
7694
</tr>
7795
<tr>
78-
<td></td><td style="line-height: 130%; word-wrap: break-word;">显示不稳定版本的 Kubernetes 作为升级替代方案,并允许升级到 Kubernetes 的 Alpha/Beta/发行候选版本。</td>
96+
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
7997
</tr>
8098
99+
</tbody>
100+
</table>
101+
```
102+
103+
-->
104+
105+
```
106+
### 概述
107+
108+
109+
检查可升级到哪些版本,并验证您当前的集群是否可升级。 要跳过互联网检查,请传递可选的 [version] 参数
110+
111+
​```
112+
kubeadm upgrade plan [version] [flags]
113+
​```
114+
115+
### 选项
116+
117+
<table style="width: 100%; table-layout: fixed;">
118+
<colgroup>
119+
<col span="1" style="width: 10px;" />
120+
<col span="1" />
121+
</colgroup>
122+
<tbody>
123+
81124
<tr>
82-
<td colspan="2">--allow-release-candidate-upgrades</td>
125+
<td colspan="2">--allow-experimental-upgrades</td>
83126
</tr>
84127
<tr>
85-
<td></td><td style="line-height: 130%; word-wrap: break-word;">显示 Kubernetes 的发行候选版本作为升级选择,并允许升级到 Kubernetes 的发行候选版本。</td>
128+
<td></td><td style="line-height: 130%; word-wrap: break-word;">显示不稳定版本的 Kubernetes 作为升级替代方案,并允许升级到 Kubernetes 的 Alpha/Beta/发行候选版本。</td>
86129
</tr>
87130
88131
<tr>
89-
<td colspan="2">--config string</td>
132+
<td colspan="2">--allow-release-candidate-upgrades</td>
90133
</tr>
91134
<tr>
92-
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径。</td>
135+
<td></td><td style="line-height: 130%; word-wrap: break-word;">显示 Kubernetes 的发行候选版本作为升级选择,并允许升级到 Kubernetes 的发行候选版本。</td>
93136
</tr>
94137
95138
<tr>
96-
<td colspan="2">--feature-gates string</td>
139+
<td colspan="2">--config string</td>
97140
</tr>
98141
<tr>
99-
<td></td><td style="line-height: 130%; word-wrap: break-word;">一组描述各种特征特性门控的键值对。选项有:<br/>IPv6DualStack=true|false (ALPHA - default=false)</td>
142+
<td></td><td style="line-height: 130%; word-wrap: break-word;">配置文件的路径。</td>
100143
</tr>
101144
102145
<tr>
103-
<td colspan="2">-h, --help</td>
146+
<td colspan="2">--feature-gates string</td>
104147
</tr>
105148
<tr>
106-
<td></td><td style="line-height: 130%; word-wrap: break-word;">帮助</td>
149+
<td></td><td style="line-height: 130%; word-wrap: break-word;">一组描述各种特征特性门控的键值对。选项有:IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false)</td>
107150
</tr>
108151
109152
<tr>
110-
<td colspan="2">--ignore-preflight-errors stringSlice</td>
153+
<td colspan="2">-h, --help</td>
111154
</tr>
112155
<tr>
113-
<td></td><td style="line-height: 130%; word-wrap: break-word;">检查清单,其错误将显示为警告。 例如:“IsPrivilegedUser,Swap”。 值 “all” 忽略所有检查的错误。</td>
156+
<td></td><td style="line-height: 130%; word-wrap: break-word;">帮助</td>
114157
</tr>
115158
116159
<tr>
117-
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
160+
<td colspan="2">--ignore-preflight-errors stringSlice</td>
118161
</tr>
119162
<tr>
120-
<td></td><td style="line-height: 130%; word-wrap: break-word;">与集群通信时使用的 kubeconfig 文件。 如果标志为未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。</td>
163+
<td></td><td style="line-height: 130%; word-wrap: break-word;">检查清单,其错误将显示为警告。 例如:“IsPrivilegedUser,Swap”。 值 “all” 忽略所有检查的错误。</td>
121164
</tr>
122165
123166
<tr>
124-
<td colspan="2">--print-config</td>
167+
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
125168
</tr>
126169
<tr>
127-
<td></td><td style="line-height: 130%; word-wrap: break-word;">指定是否打印将在升级中使用的配置文件。</td>
170+
<td></td><td style="line-height: 130%; word-wrap: break-word;">与集群通信时使用的 kubeconfig 文件。 如果标志为未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。</td>
128171
</tr>
129172
130-
<!--
131-
### Options inherited from parent commands
132-
133173
<tr>
134-
<td colspan="2">--rootfs string</td>
174+
<td colspan="2">--print-config</td>
135175
</tr>
136176
<tr>
137-
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
177+
<td></td><td style="line-height: 130%; word-wrap: break-word;">指定是否打印将在升级中使用的配置文件。</td>
138178
</tr>
139-
-->
179+
180+
</tbody>
181+
</table>
182+
183+
184+
140185
### 从父命令继承的选项
141186
187+
<table style="width: 100%; table-layout: fixed;">
188+
<colgroup>
189+
<col span="1" style="width: 10px;" />
190+
<col span="1" />
191+
</colgroup>
192+
<tbody>
193+
142194
<tr>
143-
<td colspan="2">--rootfs string</td>
195+
<td colspan="2">--rootfs string</td>
144196
</tr>
145197
<tr>
146-
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] “真实”主机根文件系统的路径。</td>
198+
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] “真实”主机根文件系统的路径。</td>
147199
</tr>
200+
201+
</tbody>
202+
</table>
203+
```

0 commit comments

Comments
 (0)