Skip to content

Commit 1bd87ba

Browse files
authored
Merge pull request #33500 from nameYULI/yl14
[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade_plan.md
2 parents 29e4b21 + 441cd0f commit 1bd87ba

File tree

1 file changed

+88
-112
lines changed

1 file changed

+88
-112
lines changed

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

Lines changed: 88 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,8 @@
11
<!--
2-
3-
```
42
### Synopsis
53
6-
74
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
8-
9-
​```
10-
kubeadm upgrade plan [version] [flags]
11-
​```
12-
13-
### Options
14-
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-
22-
<tr>
23-
<td colspan="2">--allow-experimental-upgrades</td>
24-
</tr>
25-
<tr>
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>
27-
</tr>
28-
29-
<tr>
30-
<td colspan="2">--allow-release-candidate-upgrades</td>
31-
</tr>
32-
<tr>
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>
34-
</tr>
35-
36-
<tr>
37-
<td colspan="2">--config string</td>
38-
</tr>
39-
<tr>
40-
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
41-
</tr>
42-
43-
<tr>
44-
<td colspan="2">--feature-gates string</td>
45-
</tr>
46-
<tr>
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>
48-
</tr>
49-
50-
<tr>
51-
<td colspan="2">-h, --help</td>
52-
</tr>
53-
<tr>
54-
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for plan</td>
55-
</tr>
56-
57-
<tr>
58-
<td colspan="2">--ignore-preflight-errors stringSlice</td>
59-
</tr>
60-
<tr>
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>
62-
</tr>
63-
64-
<tr>
65-
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
66-
</tr>
67-
<tr>
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>
69-
</tr>
70-
71-
<tr>
72-
<td colspan="2">--print-config</td>
73-
</tr>
74-
<tr>
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>
76-
</tr>
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>
91-
92-
<tr>
93-
<td colspan="2">--rootfs string</td>
94-
</tr>
95-
<tr>
96-
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
97-
</tr>
98-
99-
</tbody>
100-
</table>
101-
```
102-
1035
-->
104-
105-
1066
### 概述
1077

1088
检查可升级到哪些版本,并验证您当前的集群是否可升级。 要跳过互联网检查,请传递可选的 [version] 参数
@@ -111,6 +11,9 @@ kubeadm upgrade plan [version] [flags]
11111
kubeadm upgrade plan [version] [flags]
11212
```
11313

14+
<!--
15+
### Options
16+
-->
11417
### 选项
11518

11619
<table style="width: 100%; table-layout: fixed;">
@@ -124,63 +27,129 @@ kubeadm upgrade plan [version] [flags]
12427
<td colspan="2">--allow-experimental-upgrades</td>
12528
</tr>
12629
<tr>
127-
<td></td><td style="line-height: 130%; word-wrap: break-word;">显示不稳定版本的 Kubernetes 作为升级替代方案,并允许升级到 Kubernetes 的 Alpha/Beta/发行候选版本。</td>
30+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
31+
<!--
32+
Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.
33+
-->
34+
<p>
35+
显示不稳定版本的 Kubernetes 作为升级替代方案,并允许升级到 Kubernetes 的 Alpha/Beta/发行候选版本。
36+
</p>
37+
</td>
12838
</tr>
12939

13040
<tr>
13141
<td colspan="2">--allow-release-candidate-upgrades</td>
13242
</tr>
13343
<tr>
134-
<td></td><td style="line-height: 130%; word-wrap: break-word;">显示 Kubernetes 的发行候选版本作为升级选择,并允许升级到 Kubernetes 的发行候选版本。</td>
44+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
45+
<!--
46+
Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.
47+
-->
48+
<p>
49+
显示 Kubernetes 的发行候选版本作为升级选择,并允许升级到 Kubernetes 的发行候选版本。
50+
</p>
51+
</td>
13552
</tr>
13653

13754
<tr>
13855
<td colspan="2">--config string</td>
13956
</tr>
14057
<tr>
141-
<td></td><td style="line-height: 130%; word-wrap: break-word;">配置文件的路径。</td>
58+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
59+
<!--
60+
Path to a kubeadm configuration file.
61+
-->
62+
<p>
63+
配置文件的路径。
64+
</p>
65+
</td>
14266
</tr>
14367

14468
<tr>
14569
<td colspan="2">--feature-gates string</td>
14670
</tr>
14771
<tr>
148-
<td></td><td style="line-height: 130%; word-wrap: break-word;">一组描述各种特征特性门控的键值对。选项有:IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false)</td>
72+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
73+
<!--
74+
A set of key=value pairs that describe feature gates for various features. Options are:<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)<br/>UnversionedKubeletConfigMap=true|false (BETA - default=true)
75+
-->
76+
<p>
77+
一组描述各种特征特性门控的键值对。选项有:
78+
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
79+
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
80+
<br/>UnversionedKubeletConfigMap=true|false (BETA - 默认值=true)
81+
</p>
82+
</td>
14983
</tr>
15084

15185
<tr>
15286
<td colspan="2">-h, --help</td>
15387
</tr>
15488
<tr>
155-
<td></td><td style="line-height: 130%; word-wrap: break-word;">帮助</td>
89+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
90+
<!--
91+
help for plan
92+
-->
93+
<p>
94+
plan 的帮助信息
95+
</p>
96+
</td>
15697
</tr>
15798

15899
<tr>
159-
<td colspan="2">--ignore-preflight-errors stringSlice</td>
100+
<td colspan="2">--ignore-preflight-errors strings</td>
160101
</tr>
161102
<tr>
162-
<td></td><td style="line-height: 130%; word-wrap: break-word;">检查清单,其错误将显示为警告。 例如:“IsPrivilegedUser,Swap”。 值 “all” 忽略所有检查的错误。</td>
103+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
104+
<!--
105+
A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
106+
-->
107+
<p>
108+
其错误将显示为警告的检查列表。 例如:'IsPrivilegedUser,Swap'。 值 'all' 忽略所有检查错误。
109+
</p>
110+
</td>
163111
</tr>
164112

165113
<tr>
166-
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
114+
<td colspan="2">
115+
<!--
116+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"
117+
-->
118+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/admin.conf"
119+
</td>
167120
</tr>
168121
<tr>
169-
<td></td><td style="line-height: 130%; word-wrap: break-word;">与集群通信时使用的 kubeconfig 文件。 如果标志为未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。</td>
122+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
123+
<!--
124+
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.
125+
-->
126+
<p>
127+
与集群通信时使用的 kubeconfig 文件。如果标志为未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。
128+
</p>
129+
</td>
170130
</tr>
171131

172132
<tr>
173133
<td colspan="2">--print-config</td>
174134
</tr>
175135
<tr>
176-
<td></td><td style="line-height: 130%; word-wrap: break-word;">指定是否打印将在升级中使用的配置文件。</td>
136+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
137+
<!--
138+
Specifies whether the configuration file that will be used in the upgrade should be printed or not.
139+
-->
140+
<p>
141+
指定是否打印将在升级中使用的配置文件。
142+
</p>
143+
</td>
177144
</tr>
178145

179146
</tbody>
180147
</table>
181148

182149

183-
150+
<!--
151+
### Options inherited from parent commands
152+
-->
184153
### 从父命令继承的选项
185154

186155
<table style="width: 100%; table-layout: fixed;">
@@ -194,7 +163,14 @@ kubeadm upgrade plan [version] [flags]
194163
<td colspan="2">--rootfs string</td>
195164
</tr>
196165
<tr>
197-
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] “真实”主机根文件系统的路径。</td>
166+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
167+
<!--
168+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
169+
-->
170+
<p>
171+
[EXPERIMENTAL] “真实”主机根文件系统的路径。
172+
</p>
173+
</td>
198174
</tr>
199175

200176
</tbody>

0 commit comments

Comments
 (0)