|
1 | 1 | <!--
|
| 2 | +
|
| 3 | +``` |
2 | 4 | ### Synopsis
|
3 | 5 |
|
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 |
| -### 概述 |
7 | 6 |
|
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 |
9 | 8 |
|
10 |
| -``` |
| 9 | +``` |
11 | 10 | kubeadm upgrade plan [version] [flags]
|
12 |
| -``` |
13 |
| -<!-- |
| 11 | +``` |
| 12 | +
|
14 | 13 | ### Options
|
15 | 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 | +
|
16 | 22 | <tr>
|
17 |
| - <td colspan="2">--allow-experimental-upgrades</td> |
| 23 | +<td colspan="2">--allow-experimental-upgrades</td> |
18 | 24 | </tr>
|
19 | 25 | <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> |
21 | 27 | </tr>
|
22 | 28 |
|
23 | 29 | <tr>
|
24 |
| - <td colspan="2">--allow-release-candidate-upgrades</td> |
| 30 | +<td colspan="2">--allow-release-candidate-upgrades</td> |
25 | 31 | </tr>
|
26 | 32 | <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> |
28 | 34 | </tr>
|
29 | 35 |
|
30 | 36 | <tr>
|
31 |
| - <td colspan="2">--config string</td> |
| 37 | +<td colspan="2">--config string</td> |
32 | 38 | </tr>
|
33 | 39 | <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> |
35 | 41 | </tr>
|
36 | 42 |
|
37 | 43 | <tr>
|
38 |
| - <td colspan="2">--feature-gates string</td> |
| 44 | +<td colspan="2">--feature-gates string</td> |
39 | 45 | </tr>
|
40 | 46 | <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> |
42 | 48 | </tr>
|
43 | 49 |
|
44 | 50 | <tr>
|
45 |
| - <td colspan="2">-h, --help</td> |
| 51 | +<td colspan="2">-h, --help</td> |
46 | 52 | </tr>
|
47 | 53 | <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> |
49 | 55 | </tr>
|
50 | 56 |
|
51 | 57 | <tr>
|
52 |
| - <td colspan="2">--ignore-preflight-errors stringSlice</td> |
| 58 | +<td colspan="2">--ignore-preflight-errors stringSlice</td> |
53 | 59 | </tr>
|
54 | 60 | <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> |
56 | 62 | </tr>
|
57 | 63 |
|
58 | 64 | <tr>
|
59 |
| - <td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td> |
| 65 | +<td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td> |
60 | 66 | </tr>
|
61 | 67 | <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> |
63 | 69 | </tr>
|
64 | 70 |
|
65 | 71 | <tr>
|
66 |
| - <td colspan="2">--print-config</td> |
| 72 | +<td colspan="2">--print-config</td> |
67 | 73 | </tr>
|
68 | 74 | <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> |
70 | 76 | </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> |
73 | 91 |
|
74 | 92 | <tr>
|
75 |
| - <td colspan="2">--allow-experimental-upgrades</td> |
| 93 | +<td colspan="2">--rootfs string</td> |
76 | 94 | </tr>
|
77 | 95 | <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> |
79 | 97 | </tr>
|
80 | 98 |
|
| 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 | +
|
81 | 124 | <tr>
|
82 |
| - <td colspan="2">--allow-release-candidate-upgrades</td> |
| 125 | +<td colspan="2">--allow-experimental-upgrades</td> |
83 | 126 | </tr>
|
84 | 127 | <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> |
86 | 129 | </tr>
|
87 | 130 |
|
88 | 131 | <tr>
|
89 |
| - <td colspan="2">--config string</td> |
| 132 | +<td colspan="2">--allow-release-candidate-upgrades</td> |
90 | 133 | </tr>
|
91 | 134 | <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> |
93 | 136 | </tr>
|
94 | 137 |
|
95 | 138 | <tr>
|
96 |
| - <td colspan="2">--feature-gates string</td> |
| 139 | +<td colspan="2">--config string</td> |
97 | 140 | </tr>
|
98 | 141 | <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> |
100 | 143 | </tr>
|
101 | 144 |
|
102 | 145 | <tr>
|
103 |
| - <td colspan="2">-h, --help</td> |
| 146 | +<td colspan="2">--feature-gates string</td> |
104 | 147 | </tr>
|
105 | 148 | <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> |
107 | 150 | </tr>
|
108 | 151 |
|
109 | 152 | <tr>
|
110 |
| - <td colspan="2">--ignore-preflight-errors stringSlice</td> |
| 153 | +<td colspan="2">-h, --help</td> |
111 | 154 | </tr>
|
112 | 155 | <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> |
114 | 157 | </tr>
|
115 | 158 |
|
116 | 159 | <tr>
|
117 |
| - <td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td> |
| 160 | +<td colspan="2">--ignore-preflight-errors stringSlice</td> |
118 | 161 | </tr>
|
119 | 162 | <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> |
121 | 164 | </tr>
|
122 | 165 |
|
123 | 166 | <tr>
|
124 |
| - <td colspan="2">--print-config</td> |
| 167 | +<td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td> |
125 | 168 | </tr>
|
126 | 169 | <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> |
128 | 171 | </tr>
|
129 | 172 |
|
130 |
| -<!-- |
131 |
| -### Options inherited from parent commands |
132 |
| -
|
133 | 173 | <tr>
|
134 |
| - <td colspan="2">--rootfs string</td> |
| 174 | +<td colspan="2">--print-config</td> |
135 | 175 | </tr>
|
136 | 176 | <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> |
138 | 178 | </tr>
|
139 |
| ---> |
| 179 | +
|
| 180 | +</tbody> |
| 181 | +</table> |
| 182 | +
|
| 183 | +
|
| 184 | +
|
140 | 185 | ### 从父命令继承的选项
|
141 | 186 |
|
| 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 | +
|
142 | 194 | <tr>
|
143 |
| - <td colspan="2">--rootfs string</td> |
| 195 | +<td colspan="2">--rootfs string</td> |
144 | 196 | </tr>
|
145 | 197 | <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> |
147 | 199 | </tr>
|
| 200 | +
|
| 201 | +</tbody> |
| 202 | +</table> |
| 203 | +``` |
0 commit comments