-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zh-cn]sync kubeadm_upgrade_apply_phase_control-plane
Signed-off-by: xin.li <xin.li@daocloud.io>
- Loading branch information
Showing
1 changed file
with
180 additions
and
0 deletions.
There are no files selected for viewing
180 changes: 180 additions & 0 deletions
180
.../kubeadm/generated/kubeadm_upgrade/kubeadm_upgrade_apply_phase_control-plane.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
<!-- | ||
Upgrade the control plane | ||
--> | ||
升级控制平面 | ||
|
||
<!-- | ||
### Synopsis | ||
--> | ||
### 概要 | ||
|
||
<!-- | ||
Upgrade the control plane | ||
--> | ||
升级控制平面 | ||
|
||
```shell | ||
kubeadm upgrade apply phase control-plane [flags] | ||
``` | ||
|
||
|
||
<!-- | ||
### Options | ||
--> | ||
### 选项 | ||
|
||
<table style="width: 100%; table-layout: fixed;"> | ||
<colgroup> | ||
<col span="1" style="width: 10px;" /> | ||
<col span="1" /> | ||
</colgroup> | ||
<tbody> | ||
|
||
<tr> | ||
<td colspan="2"> | ||
<!-- | ||
--certificate-renewal Default: true | ||
--> | ||
--certificate-renewal 默认值:true | ||
</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;"> | ||
<p> | ||
<!-- | ||
Perform the renewal of certificates used by component changed during upgrades. | ||
--> | ||
执行升级期间更改的组件所使用的证书的更新。 | ||
</p> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--config string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;"> | ||
<!-- | ||
Path to a kubeadm configuration file. | ||
--> | ||
<p> | ||
kubeadm 配置文件的路径。 | ||
</p> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--dry-run</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;"> | ||
<p> | ||
<!-- | ||
Do not change any state, just output what actions would be performed. | ||
--> | ||
不更改任何状态,只输出要执行的操作。 | ||
</p> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2"> | ||
<!-- | ||
--etcd-upgrade Default: true | ||
--> | ||
--etcd-upgrade 默认值: true | ||
</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;"> | ||
<p> | ||
<!-- | ||
Perform the upgrade of etcd. | ||
--> | ||
执行 etcd 的升级。 | ||
</p> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">-h, --help</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;"> | ||
<p> | ||
<!-- | ||
help for control-plane | ||
--> | ||
control-plane 操作的帮助命令。 | ||
</p> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2"> | ||
<!-- | ||
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | ||
--> | ||
--kubeconfig string 默认值: "/etc/kubernetes/admin.conf" | ||
</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;"> | ||
<p> | ||
<!-- | ||
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. | ||
--> | ||
用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。 | ||
</p> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--patches string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> | ||
<!-- | ||
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", "kubeletconfiguration". "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"。 | ||
"target" 可以是 "kube-apiserver"、"kube-controller-manager"、"kube-scheduler"、"etcd"、"kubeletconfiguration" 之一。 | ||
"patchtype" 可以是 "strategic"、"merge" 或者 "json" 之一, | ||
并且它们与 kubectl 支持的补丁格式相同。 | ||
默认的 "patchtype" 是 "strategic"。 | ||
"extension" 必须是"json" 或"yaml"。 | ||
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。 | ||
</p></td> | ||
</tr> | ||
|
||
</tbody> | ||
</table> | ||
|
||
<!-- | ||
### Options inherited from parent commands | ||
--> | ||
### 从父命令继承的选项 | ||
|
||
<table style="width: 100%; table-layout: fixed;"> | ||
<colgroup> | ||
<col span="1" style="width: 10px;" /> | ||
<col span="1" /> | ||
</colgroup> | ||
<tbody> | ||
|
||
<tr> | ||
<td colspan="2">--rootfs string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p> | ||
<!-- | ||
The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. | ||
--> | ||
到“真实”主机根文件系统的路径。设置此参数将导致 kubeadm 切换到所提供的路径。 | ||
</p> | ||
</td> | ||
</tr> | ||
|
||
</tbody> | ||
</table> |