[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade_node_phase_kubelet-config.md
[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade_node_phase_kubelet-config.md
This commit is contained in:
+44
-15
@@ -1,14 +1,17 @@
|
|||||||
|
<!--
|
||||||
|
Upgrade the kubelet configuration for this node
|
||||||
|
-->
|
||||||
|
升级此节点的 kubelet 配置
|
||||||
|
|
||||||
<!-- ### Synopsis -->
|
<!-- ### Synopsis -->
|
||||||
|
|
||||||
### 概要
|
### 概要
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Downloads the kubelet configuration from a ConfigMap of the form "kubelet-config-1.X" in the cluster, where X is the minor version of the kubelet. kubeadm uses the kubelet-version parameter to determine what the desired kubelet version is.
|
Download the kubelet configuration from the kubelet-config ConfigMap stored in the cluster
|
||||||
-->
|
-->
|
||||||
|
|
||||||
从群集中 "kubelet-config-1.X" 的 ConfigMap 下载 kubelet 配置,其中 X 是kubelet 的次要版本。
|
从群集中 ConfigMap kubelet-config 下载 kubelet 配置
|
||||||
kubeadm 使用 --kubelet-version 参数来确定所需的 kubelet 版本。
|
|
||||||
|
|
||||||
```
|
```
|
||||||
kubeadm upgrade node phase kubelet-config [flags]
|
kubeadm upgrade node phase kubelet-config [flags]
|
||||||
@@ -31,28 +34,47 @@ kubeadm upgrade node phase kubelet-config [flags]
|
|||||||
<td colspan="2">--dry-run</td>
|
<td colspan="2">--dry-run</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">不改变任何状态,只输出将要执行的操作</td>
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||||
|
<!--
|
||||||
|
Do not change any state, just output the actions that would be performed.
|
||||||
|
-->
|
||||||
|
<p>
|
||||||
|
不改变任何状态,只输出将要执行的操作
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">-h, --help</td>
|
<td colspan="2">-h, --help</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">配置操作的帮助信息</td>
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||||
|
<!--
|
||||||
|
help for kubelet-config
|
||||||
|
-->
|
||||||
|
<p>
|
||||||
|
kubelet-config 操作的帮助信息
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">--kubeconfig string 默认值: "/etc/kubernetes/kubelet.conf"</td>
|
<td colspan="2">
|
||||||
|
<!--
|
||||||
|
--kubeconfig string Default: "/etc/kubernetes/admin.conf"
|
||||||
|
-->
|
||||||
|
--kubeconfig string 默认值:"/etc/kubernetes/admin.conf"
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。</td>
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||||
</tr>
|
<!--
|
||||||
|
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.
|
||||||
<tr>
|
-->
|
||||||
<td colspan="2">--kubelet-version string</td>
|
<p>
|
||||||
</tr>
|
用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。
|
||||||
<tr>
|
</p>
|
||||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">升级后的 kubelet 的*期望*版本。</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -76,7 +98,14 @@ kubeadm upgrade node phase kubelet-config [flags]
|
|||||||
<td colspan="2">--rootfs string</td>
|
<td colspan="2">--rootfs string</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] 到'真实'主机根文件系统的路径。</td>
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||||
|
<!--
|
||||||
|
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||||
|
-->
|
||||||
|
<p>
|
||||||
|
[实验] 到'真实'主机根文件系统的路径。
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user