Skip to content

Commit c51ee7e

Browse files
authored
Update zh trans kubeadm_upgrade_plan.md
Update zh trans kubeadm_upgrade_plan.md
1 parent 5c090ea commit c51ee7e

File tree

1 file changed

+49
-125
lines changed

1 file changed

+49
-125
lines changed
Lines changed: 49 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,147 +1,71 @@
11
<!--
2+
23
### Synopsis
34
45
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-
### 概述
7-
8-
检查可升级到哪些版本,并验证您当前的集群是否可升级。 要跳过互联网检查,请传递可选的 [version] 参数
96
107
```
118
kubeadm upgrade plan [version] [flags]
129
```
13-
<!--
14-
### Options
1510
16-
<tr>
17-
<td colspan="2">--allow-experimental-upgrades</td>
18-
</tr>
19-
<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>
21-
</tr>
22-
23-
<tr>
24-
<td colspan="2">--allow-release-candidate-upgrades</td>
25-
</tr>
26-
<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>
28-
</tr>
29-
30-
<tr>
31-
<td colspan="2">--config string</td>
32-
</tr>
33-
<tr>
34-
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to a kubeadm configuration file.</td>
35-
</tr>
36-
37-
<tr>
38-
<td colspan="2">--feature-gates string</td>
39-
</tr>
40-
<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>
42-
</tr>
11+
### Options
4312
44-
<tr>
45-
<td colspan="2">-h, --help</td>
46-
</tr>
47-
<tr>
48-
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for plan</td>
49-
</tr>
13+
| --allow-experimental-upgrades | |
14+
| ------------------------------------------------------------ | ------------------------------------------------------------ |
15+
| | Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes. |
16+
| --allow-release-candidate-upgrades | |
17+
| | Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes. |
18+
| --config string | |
19+
| | Path to a kubeadm configuration file. |
20+
| --feature-gates string | |
21+
| | A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true\|false (ALPHA - default=false) PublicKeysECDSA=true\|false (ALPHA - default=false) |
22+
| -h, --help | |
23+
| | help for plan |
24+
| --ignore-preflight-errors stringSlice | |
25+
| | A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks. |
26+
| --kubeconfig string Default: "/etc/kubernetes/admin.conf" | |
27+
| | 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. |
28+
| --print-config | |
29+
| | Specifies whether the configuration file that will be used in the upgrade should be printed or not. |
5030
51-
<tr>
52-
<td colspan="2">--ignore-preflight-errors stringSlice</td>
53-
</tr>
54-
<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>
56-
</tr>
31+
### Options inherited from parent commands
5732
58-
<tr>
59-
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
60-
</tr>
61-
<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>
63-
</tr>
33+
| --rootfs string | |
34+
| --------------- | ----------------------------------------------------------- |
35+
| | [EXPERIMENTAL] The path to the 'real' host root filesystem. |
6436
65-
<tr>
66-
<td colspan="2">--print-config</td>
67-
</tr>
68-
<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>
70-
</tr>
7137
-->
72-
### 选项
7338

74-
<tr>
75-
<td colspan="2">--allow-experimental-upgrades</td>
76-
</tr>
77-
<tr>
78-
<td></td><td style="line-height: 130%; word-wrap: break-word;">显示不稳定版本的 Kubernetes 作为升级替代方案,并允许升级到 Kubernetes 的 Alpha/Beta/发行候选版本。</td>
79-
</tr>
80-
81-
<tr>
82-
<td colspan="2">--allow-release-candidate-upgrades</td>
83-
</tr>
84-
<tr>
85-
<td></td><td style="line-height: 130%; word-wrap: break-word;">显示 Kubernetes 的发行候选版本作为升级选择,并允许升级到 Kubernetes 的发行候选版本。</td>
86-
</tr>
87-
88-
<tr>
89-
<td colspan="2">--config string</td>
90-
</tr>
91-
<tr>
92-
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径。</td>
93-
</tr>
94-
95-
<tr>
96-
<td colspan="2">--feature-gates string</td>
97-
</tr>
98-
<tr>
99-
<td></td><td style="line-height: 130%; word-wrap: break-word;">一组描述各种特征特性门控的键值对。选项有:<br/>IPv6DualStack=true|false (ALPHA - default=false)</td>
100-
</tr>
101-
102-
<tr>
103-
<td colspan="2">-h, --help</td>
104-
</tr>
105-
<tr>
106-
<td></td><td style="line-height: 130%; word-wrap: break-word;">帮助</td>
107-
</tr>
39+
### 概述
10840

109-
<tr>
110-
<td colspan="2">--ignore-preflight-errors stringSlice</td>
111-
</tr>
112-
<tr>
113-
<td></td><td style="line-height: 130%; word-wrap: break-word;">检查清单,其错误将显示为警告。 例如:“IsPrivilegedUser,Swap”。 值 “all” 忽略所有检查的错误。</td>
114-
</tr>
41+
检查可升级到哪些版本,并验证您当前的集群是否可升级。 要跳过互联网检查,请传递可选的 [version] 参数
11542

116-
<tr>
117-
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
118-
</tr>
119-
<tr>
120-
<td></td><td style="line-height: 130%; word-wrap: break-word;">与集群通信时使用的 kubeconfig 文件。 如果标志为未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。</td>
121-
</tr>
43+
```
44+
kubeadm upgrade plan [version] [flags]
45+
```
12246

123-
<tr>
124-
<td colspan="2">--print-config</td>
125-
</tr>
126-
<tr>
127-
<td></td><td style="line-height: 130%; word-wrap: break-word;">指定是否打印将在升级中使用的配置文件。</td>
128-
</tr>
47+
### 选项
12948

130-
<!--
131-
### Options inherited from parent commands
49+
| --allow-experimental-upgrades | |
50+
| ------------------------------------------------------------ | ------------------------------------------------------------ |
51+
| | 显示不稳定版本的 Kubernetes 作为升级替代方案,并允许升级到 Kubernetes 的 Alpha/Beta/发行候选版本。 |
52+
| --allow-release-candidate-upgrades | |
53+
| | 显示 Kubernetes 的发行候选版本作为升级选择,并允许升级到 Kubernetes 的发行候选版本。 |
54+
| --config string | |
55+
| | 配置文件的路径。 |
56+
| --feature-gates string | |
57+
| | 一组描述各种特征特性门控的键值对。选项有:IPv6DualStack=true\|false (ALPHA - default=false) PublicKeysECDSA=true\|false (ALPHA - default=false) |
58+
| -h, --help | |
59+
| | 帮助 |
60+
| --ignore-preflight-errors stringSlice | |
61+
| | 检查清单,其错误将显示为警告。 例如:“IsPrivilegedUser,Swap”。 值 “all” 忽略所有检查的错误。 |
62+
| --kubeconfig string Default: "/etc/kubernetes/admin.conf" | |
63+
| | 与集群通信时使用的 kubeconfig 文件。 如果标志为未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。 |
64+
| --print-config | |
65+
| | 指定是否打印将在升级中使用的配置文件。 |
13266

133-
<tr>
134-
<td colspan="2">--rootfs string</td>
135-
</tr>
136-
<tr>
137-
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
138-
</tr>
139-
-->
14067
### 从父命令继承的选项
14168

142-
<tr>
143-
<td colspan="2">--rootfs string</td>
144-
</tr>
145-
<tr>
146-
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] “真实”主机根文件系统的路径。</td>
147-
</tr>
69+
| --rootfs string | |
70+
| --------------- | -------------------------------------------- |
71+
| | [EXPERIMENTAL] “真实”主机根文件系统的路径。 |

0 commit comments

Comments
 (0)