Skip to content

Commit 3faa930

Browse files
authored
Merge pull request #42806 from windsonsea/upgrade3
[zh] Update kubeadm_upgrade_node_phase_control-plane
2 parents 919f5e9 + 49cf3ff commit 3faa930

File tree

1 file changed

+58
-54
lines changed

1 file changed

+58
-54
lines changed

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade_node_phase_control-plane.md

Lines changed: 58 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
1-
<!--
2-
The file is auto-generated from the Go source code of the component using a generic
3-
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4-
to generate the reference documentation, please read
5-
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6-
To update the reference content, please follow the
7-
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8-
guide. You can file document formatting bugs against the
9-
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10-
--
11-
121
<!--
132
Upgrade the control plane instance deployed on this node, if any
143
-->
15-
升级部署在此节点上的控制平面实例,如果有的话
4+
升级部署在此节点上的控制平面实例,如果有的话
165

176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
Upgrade the control plane instance deployed on this node, if any
2513
-->
26-
27-
升级部署在此节点上的控制平面实例,如果有的话
14+
升级部署在此节点上的控制平面实例,如果有的话。
2815

2916
```
3017
kubeadm upgrade node phase control-plane [flags]
@@ -33,7 +20,6 @@ kubeadm upgrade node phase control-plane [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

3925
<table style="width: 100%; table-layout: fixed;">
@@ -47,61 +33,81 @@ kubeadm upgrade node phase control-plane [flags]
4733
<td colspan="2">--certificate-renewal</td>
4834
</tr>
4935
<tr>
50-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>更新在升级期间变更的组件使用的证书。</p></td>
51-
</tr>
52-
<!--
53-
<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>
36+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
37+
<p>
38+
<!--
39+
Perform the renewal of certificates used by component changed during upgrades.
5440
-->
41+
续订在升级期间变更的组件所使用的证书。
42+
</p>
43+
</td>
44+
</tr>
5545

5646
<tr>
5747
<td colspan="2">--dry-run</td>
5848
</tr>
5949
<tr>
60-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>不改变任何状态,只输出将要执行的动作。</p></td>
61-
</tr>
50+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
51+
<p>
6252
<!--
63-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Do not change any state, just output the actions that would be performed.</p></td>
53+
Do not change any state, just output the actions that would be performed.
6454
-->
65-
66-
<tr>
67-
<td colspan="2">--etcd-upgrade&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值: true</td>
55+
不改变任何状态,只输出将要执行的动作。
56+
</p>
57+
</td>
6858
</tr>
59+
6960
<tr>
70-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>执行 etcd 的升级。</p></td>
71-
</tr>
61+
<td colspan="2">
7262
<!--
73-
<td colspan="2">--etcd-upgrade&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: true</td>
63+
--etcd-upgrade&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: true
7464
-->
75-
65+
--etcd-upgrade&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值: true
66+
</td>
67+
</tr>
68+
<tr>
69+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
70+
<p>
7671
<!--
77-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>Perform the upgrade of etcd.</p></td>
72+
Perform the upgrade of etcd.
7873
-->
74+
执行 etcd 的升级。
75+
</p>
76+
</td>
77+
</tr>
7978

8079
<tr>
8180
<td colspan="2">-h, --help</td>
8281
</tr>
8382
<tr>
84-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>control-plane 的帮助信息</p></td>
85-
</tr>
86-
83+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
84+
<p>
8785
<!--
88-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>help for control-plane</p></td>
86+
help for control-plane
8987
-->
90-
91-
<tr>
92-
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值: "/etc/kubernetes/admin.conf"</td>
93-
</tr>
94-
<tr>
95-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。</p></td>
88+
control-plane 操作的帮助命令。
89+
</p>
90+
</td>
9691
</tr>
9792

93+
<tr>
94+
<td colspan="2">
9895
<!--
99-
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"</td>
96+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"
10097
-->
101-
98+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值: "/etc/kubernetes/admin.conf"
99+
</td>
100+
</tr>
101+
<tr>
102+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
103+
<p>
102104
<!--
103-
<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.</p></td>
105+
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.
104106
-->
107+
用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。
108+
</p>
109+
</td>
110+
</tr>
105111

106112
<tr>
107113
<td colspan="2">--patches string</td>
@@ -115,20 +121,17 @@ Path to a directory that contains files named "target[suffix][+patchtype].extens
115121
例如,"kube-apiserver0+merge.yaml" 或仅仅是 "etcd.json"。
116122
"target" 可以是 "kube-apiserver"、"kube-controller-manager"、"kube-scheduler"、"etcd"、"kubeletconfiguration" 之一。
117123
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,并且它们与 kubectl 支持的补丁格式匹配。
118-
默认的 "patchtype" 为 "strategic"。 "extension" 必须为 "json" 或 "yaml"。
124+
默认的 "patchtype" 为 "strategic"。"extension" 必须为 "json" 或 "yaml"。
119125
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
120126
</td>
121127
</tr>
122128

123129
</tbody>
124130
</table>
125131

126-
127-
128132
<!--
129133
### Options inherited from parent commands
130134
-->
131-
132135
### 从父命令继承的选项
133136

134137
<table style="width: 100%; table-layout: fixed;">
@@ -142,14 +145,15 @@ Path to a directory that contains files named "target[suffix][+patchtype].extens
142145
<td colspan="2">--rootfs string</td>
143146
</tr>
144147
<tr>
145-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[实验] 到'真实'主机根文件系统的路径。</p></td>
146-
</tr>
148+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
149+
<p>
147150
<!--
148-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p></td>
151+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
149152
-->
153+
[实验] 指向 “真实” 主机根文件系统的路径。
154+
</p>
155+
</td>
156+
</tr>
150157

151158
</tbody>
152159
</table>
153-
154-
155-

0 commit comments

Comments
 (0)