Merge pull request #33494 from nameYULI/yl12
[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade_apply.mdpull/33526/head
commit
54bcf47f31
|
@ -1,3 +1,7 @@
|
|||
<!--
|
||||
Upgrade your Kubernetes cluster to the specified version
|
||||
-->
|
||||
将 Kubernetes 集群升级到指定版本
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
|
@ -36,7 +40,9 @@ kubeadm upgrade apply [version]
|
|||
<!--
|
||||
Show unstable versions of Kubernetes as an upgrade alternative and allow upgrading to an alpha/beta/release candidate versions of Kubernetes.
|
||||
-->
|
||||
<p>
|
||||
显示 Kubernetes 的不稳定版本作为升级替代方案,并允许升级到 Kubernetes 的 alpha/beta 或 RC 版本。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -48,7 +54,9 @@ Show unstable versions of Kubernetes as an upgrade alternative and allow upgradi
|
|||
<!--
|
||||
Show release candidate versions of Kubernetes as an upgrade alternative and allow upgrading to a release candidate versions of Kubernetes.
|
||||
-->
|
||||
<p>
|
||||
显示 Kubernetes 的候选版本作为升级替代方案,并允许升级到 Kubernetes 的 RC 版本。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -60,7 +68,9 @@ Show release candidate versions of Kubernetes as an upgrade alternative and allo
|
|||
<!--
|
||||
Perform the renewal of certificates used by component changed during upgrades.
|
||||
-->
|
||||
<p>
|
||||
执行升级期间更改的组件所使用的证书的更新。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -72,7 +82,9 @@ Perform the renewal of certificates used by component changed during upgrades.
|
|||
<!--
|
||||
Path to a kubeadm configuration file.
|
||||
-->
|
||||
<p>
|
||||
kubeadm 配置文件的路径。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -84,7 +96,9 @@ kubeadm 配置文件的路径。
|
|||
<!--
|
||||
Do not change any state, just output what actions would be performed.
|
||||
-->
|
||||
<p>
|
||||
不要更改任何状态,只输出要执行的操作。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -101,23 +115,9 @@ Do not change any state, just output what actions would be performed.
|
|||
<!--
|
||||
Perform the upgrade of etcd.
|
||||
-->
|
||||
<p>
|
||||
执行 etcd 的升级。
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--experimental-patches string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically.
|
||||
-->
|
||||
包含名为 "target[suffix][+patchtype].extension" 的文件的目录的路径。
|
||||
例如,"kube-apiserver0+merge.yaml" 或仅仅是 "etcd.json"。
|
||||
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,并且它们与 kubectl 支持的补丁格式匹配。
|
||||
默认的 "patchtype" 为 "strategic"。 "extension" 必须为 "json" 或 "yaml"。
|
||||
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -127,11 +127,14 @@ Path to a directory that contains files named "target[suffix][+patchtype].extens
|
|||
<tr>
|
||||
<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)
|
||||
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)
|
||||
-->
|
||||
<p>
|
||||
一组键值对,用于描述各种功能。选项包括:
|
||||
<br/>IPv6DualStack=true|false (ALPHA - 默认=false)
|
||||
<br/>PublicKeysECDSA=true|false (ALPHA - 默认=false)
|
||||
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false
|
||||
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
|
||||
<br/>UnversionedKubeletConfigMap=true|false (BETA - 默认值=true)
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -143,7 +146,9 @@ A set of key=value pairs that describe feature gates for various features. Optio
|
|||
<!--
|
||||
Force upgrading although some requirements might not be met. This also implies non-interactive mode.
|
||||
-->
|
||||
<p>
|
||||
强制升级,但可能无法满足某些要求。这也意味着非交互模式。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -155,19 +160,23 @@ Force upgrading although some requirements might not be met. This also implies n
|
|||
<!--
|
||||
help for apply
|
||||
-->
|
||||
<p>
|
||||
apply 操作的帮助命令
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--ignore-preflight-errors stringSlice</td>
|
||||
<td colspan="2">-ignore-preflight-errors strings</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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.
|
||||
-->
|
||||
<p>
|
||||
错误将显示为警告的检查列表;例如:'IsPrivilegedUser,Swap'。取值为 'all' 时将忽略检查中的所有错误。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -184,7 +193,30 @@ A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedU
|
|||
<!--
|
||||
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.
|
||||
-->
|
||||
<p>
|
||||
与集群通信时使用的 kubeconfig 文件。如果未设置标志,则在相关目录下搜索以查找现有 kubeconfig 文件。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--patches string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "target" can be one of "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd". "patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically.
|
||||
-->
|
||||
<p>
|
||||
包含名为 "target[suffix][+patchtype].extension" 的文件的目录的路径。
|
||||
例如,"kube-apiserver0+merge.yaml"或仅仅是 "etcd.json"。
|
||||
"target" 可以是 "kube-apiserver"、"kube-controller-manager"、"kube-scheduler"、"etcd" 之一。
|
||||
"patchtype" 可以是 "strategic"、"merge" 或者 "json" 之一,
|
||||
并且它们与 kubectl 支持的补丁格式相同。
|
||||
默认的 "patchtype" 是 "strategic"。
|
||||
"extension" 必须是"json" 或"yaml"。
|
||||
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -196,7 +228,9 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
|
|||
<!--
|
||||
Specifies whether the configuration file that will be used in the upgrade should be printed or not.
|
||||
-->
|
||||
<p>
|
||||
指定是否应打印将在升级中使用的配置文件。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -208,7 +242,9 @@ Specifies whether the configuration file that will be used in the upgrade should
|
|||
<!--
|
||||
Perform the upgrade and do not prompt for confirmation (non-interactive mode).
|
||||
-->
|
||||
<p>
|
||||
执行升级,不提示确认(非交互模式)。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -236,7 +272,9 @@ Perform the upgrade and do not prompt for confirmation (non-interactive mode).
|
|||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
-->
|
||||
<p>
|
||||
[实验] 指向 '真实' 宿主机根文件系统的路径。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
Loading…
Reference in New Issue