Update kubeadm_upgrade_diff.md
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<!--
|
||||
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Show what differences would be applied to existing static pod manifests. See also: kubeadm upgrade apply --dry-run
|
||||
|
||||
```
|
||||
@@ -10,59 +12,179 @@ kubeadm upgrade diff [version] [flags]
|
||||
|
||||
### Options
|
||||
|
||||
| --api-server-manifest string Default: "/etc/kubernetes/manifests/kube-apiserver.yaml" | |
|
||||
| ------------------------------------------------------------ | ------------------------------------------------------------ |
|
||||
| | path to API server manifest |
|
||||
| --config string | |
|
||||
| | Path to a kubeadm configuration file. |
|
||||
| -c, --context-lines int Default: 3 | |
|
||||
| | How many lines of context in the diff |
|
||||
| --controller-manager-manifest string Default: "/etc/kubernetes/manifests/kube-controller-manager.yaml" | |
|
||||
| | path to controller manifest |
|
||||
| -h, --help | |
|
||||
| | help for diff |
|
||||
| --kubeconfig string Default: "/etc/kubernetes/admin.conf" | |
|
||||
| | 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. |
|
||||
| --scheduler-manifest string Default: "/etc/kubernetes/manifests/kube-scheduler.yaml" | |
|
||||
| | path to scheduler manifest |
|
||||
<table style="width: 100%; table-layout: fixed;">
|
||||
<colgroup>
|
||||
<col span="1" style="width: 10px;" />
|
||||
<col span="1" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--api-server-manifest string Default: "/etc/kubernetes/manifests/kube-apiserver.yaml"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">path to API server manifest</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.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">-c, --context-lines int Default: 3</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">How many lines of context in the diff</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--controller-manager-manifest string Default: "/etc/kubernetes/manifests/kube-controller-manager.yaml"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">path to controller manifest</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">-h, --help</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for diff</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--scheduler-manifest string Default: "/etc/kubernetes/manifests/kube-scheduler.yaml"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">path to scheduler manifest</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
| --rootfs string | |
|
||||
| --------------- | ----------------------------------------------------------- |
|
||||
| | [EXPERIMENTAL] The path to the 'real' host root filesystem. |
|
||||
<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;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
-->
|
||||
|
||||
### 概述
|
||||
|
||||
|
||||
显示哪些差异将被应用于现有的静态 pod 资源清单。参考: kubeadm upgrade apply --dry-run
|
||||
|
||||
```
|
||||
kubeadm upgrade diff [version] [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">--api-server-manifest string 默认值:"/etc/kubernetes/manifests/kube-apiserver.yaml"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">API服务器清单的路径</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--config string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">-c, --context-lines int 默认值:3</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">差异中有多少行上下文</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--controller-manager-manifest string 默认值: "/etc/kubernetes/manifests/kube-controller-manager.yaml"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">控制器清单的路径</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">-h, --help</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">帮助</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--kubeconfig string 默认值:"/etc/kubernetes/admin.conf"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">与集群通信时使用的 kubeconfig 文件,如果标志是未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--scheduler-manifest string 默认值:"/etc/kubernetes/manifests/kube-scheduler.yaml"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">调度程序清单的路径</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
| --api-server-manifest string 默认值: "/etc/kubernetes/manifests/kube-apiserver.yaml" | |
|
||||
| ------------------------------------------------------------ | ------------------------------------------------------------ |
|
||||
| | API服务器清单的路径 |
|
||||
| --config string | |
|
||||
| | kubeadm 配置文件的路径。 |
|
||||
| -c, --context-lines int 默认值: 3 | |
|
||||
| | 差异中有多少行上下文 |
|
||||
| --controller-manager-manifest string 默认值: "/etc/kubernetes/manifests/kube-controller-manager.yaml" | |
|
||||
| | 控制器清单的路径 |
|
||||
| -h, --help | |
|
||||
| | 帮助 |
|
||||
| --kubeconfig string 默认值: "/etc/kubernetes/admin.conf" | |
|
||||
| | 与集群通信时使用的 kubeconfig 文件,如果标志是未设置,则可以在一组标准位置中搜索现有的 kubeconfig 文件。 |
|
||||
| --scheduler-manifest string 默认值: "/etc/kubernetes/manifests/kube-scheduler.yaml" | |
|
||||
| | 调度程序清单的路径 |
|
||||
|
||||
### 从父命令继承的选项
|
||||
|
||||
| --rootfs string | |
|
||||
| --------------- | -------------------------------------------- |
|
||||
| | [EXPERIMENTAL] “真实”主机根文件系统的路径。 |
|
||||
<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;">[EXPERIMENTAL] “真实”主机根文件系统的路径。</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user