Merge pull request #49151 from windsonsea/loadfig

[zh] Sync kubeadm_upgrade_apply_phase_upload-config.md
pull/49168/head
Kubernetes Prow Robot 2024-12-19 13:48:09 +01:00 committed by GitHub
commit c9e324dcc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,80 @@
<!--
Upload the kubeadm and kubelet configurations to ConfigMaps
-->
将 kubeadm 和 kubelet 配置上传到 ConfigMap。
<!--
### Synopsis
Upload the kubeadm and kubelet configurations to ConfigMaps
-->
### 概要
将 kubeadm 和 kubelet 配置上传到 ConfigMap。
```shell
kubeadm upgrade apply phase upload-config [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">-h, --help</td>
</tr>
<tr>
<td></td>
<td style="line-height: 130%; word-wrap: break-word;">
<p>
<!--
help for upload-config
-->
upload-config 操作的帮助命令。
</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>

View File

@ -43,6 +43,20 @@ Perform the renewal of certificates used by component changed during upgrades.
</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<p>
<!--
Path to a kubeadm configuration file.
-->
kubeadm 配置文件的路径。
</p>
</td>
</tr>
<tr>
<td colspan="2">--dry-run</td>
</tr>

View File

@ -29,6 +29,20 @@ kubeadm upgrade node phase preflight [flags]
</colgroup>
<tbody>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<p>
<!--
Path to a kubeadm configuration file.
-->
kubeadm 配置文件的路径。
</p>
</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
</tr>