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
-
12
1
<!--
13
2
Upgrade the control plane instance deployed on this node, if any
14
3
-->
15
- 升级部署在此节点上的控制平面实例,如果有的话
4
+ 升级部署在此节点上的控制平面实例,如果有的话。
16
5
17
6
<!--
18
7
### Synopsis
19
8
-->
20
-
21
9
### 概要
22
10
23
11
<!--
24
12
Upgrade the control plane instance deployed on this node, if any
25
13
-->
26
-
27
- 升级部署在此节点上的控制平面实例,如果有的话
14
+ 升级部署在此节点上的控制平面实例,如果有的话。
28
15
29
16
```
30
17
kubeadm upgrade node phase control-plane [flags]
@@ -33,7 +20,6 @@ kubeadm upgrade node phase control-plane [flags]
33
20
<!--
34
21
### Options
35
22
-->
36
-
37
23
### 选项
38
24
39
25
<table style =" width : 100% ; table-layout : fixed ;" >
@@ -47,61 +33,81 @@ kubeadm upgrade node phase control-plane [flags]
47
33
<td colspan =" 2 " >--certificate-renewal</td >
48
34
</tr >
49
35
<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.
54
40
-->
41
+ 续订在升级期间变更的组件所使用的证书。
42
+ </p >
43
+ </td >
44
+ </tr >
55
45
56
46
<tr >
57
47
<td colspan =" 2 " >--dry-run</td >
58
48
</tr >
59
49
<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 >
62
52
<!--
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.
64
54
-->
65
-
66
- <tr >
67
- <td colspan = " 2 " >--etcd-upgrade & nbsp ;& nbsp ;& nbsp ;& nbsp ;& nbsp ; 默认值: true< /td >
55
+ 不改变任何状态,只输出将要执行的动作。
56
+ </ p >
57
+ </td >
68
58
</tr >
59
+
69
60
<tr >
70
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >执行 etcd 的升级。</p ></td >
71
- </tr >
61
+ <td colspan =" 2 " >
72
62
<!--
73
- <td colspan="2"> --etcd-upgrade Default: true</td>
63
+ --etcd-upgrade Default: true
74
64
-->
75
-
65
+ --etcd-upgrade  ;  ;  ;  ;  ; 默认值: true
66
+ </td >
67
+ </tr >
68
+ <tr >
69
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
70
+ <p >
76
71
<!--
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.
78
73
-->
74
+ 执行 etcd 的升级。
75
+ </p >
76
+ </td >
77
+ </tr >
79
78
80
79
<tr >
81
80
<td colspan =" 2 " >-h, --help</td >
82
81
</tr >
83
82
<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 >
87
85
<!--
88
- <td></td><td style="line-height: 130%; word-wrap: break-word;"><p> help for control-plane</p></td>
86
+ help for control-plane
89
87
-->
90
-
91
- <tr >
92
- <td colspan =" 2 " >--kubeconfig string  ;  ;  ;  ;  ; 默认值: "/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 >
96
91
</tr >
97
92
93
+ <tr >
94
+ <td colspan =" 2 " >
98
95
<!--
99
- <td colspan="2"> --kubeconfig string Default: "/etc/kubernetes/admin.conf"</td>
96
+ --kubeconfig string Default: "/etc/kubernetes/admin.conf"
100
97
-->
101
-
98
+ --kubeconfig string  ;  ;  ;  ;  ; 默认值: "/etc/kubernetes/admin.conf"
99
+ </td >
100
+ </tr >
101
+ <tr >
102
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
103
+ <p >
102
104
<!--
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.
104
106
-->
107
+ 用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。
108
+ </p >
109
+ </td >
110
+ </tr >
105
111
106
112
<tr >
107
113
<td colspan =" 2 " >--patches string</td >
@@ -115,20 +121,17 @@ Path to a directory that contains files named "target[suffix][+patchtype].extens
115
121
例如,"kube-apiserver0+merge.yaml" 或仅仅是 "etcd.json"。
116
122
"target" 可以是 "kube-apiserver"、"kube-controller-manager"、"kube-scheduler"、"etcd"、"kubeletconfiguration" 之一。
117
123
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,并且它们与 kubectl 支持的补丁格式匹配。
118
- 默认的 "patchtype" 为 "strategic"。 "extension" 必须为 "json" 或 "yaml"。
124
+ 默认的 "patchtype" 为 "strategic"。"extension" 必须为 "json" 或 "yaml"。
119
125
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
120
126
</td >
121
127
</tr >
122
128
123
129
</tbody >
124
130
</table >
125
131
126
-
127
-
128
132
<!--
129
133
### Options inherited from parent commands
130
134
-->
131
-
132
135
### 从父命令继承的选项
133
136
134
137
<table style =" width : 100% ; table-layout : fixed ;" >
@@ -142,14 +145,15 @@ Path to a directory that contains files named "target[suffix][+patchtype].extens
142
145
<td colspan =" 2 " >--rootfs string</td >
143
146
</tr >
144
147
<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 >
147
150
<!--
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.
149
152
-->
153
+ [ 实验] 指向 “真实” 主机根文件系统的路径。
154
+ </p >
155
+ </td >
156
+ </tr >
150
157
151
158
</tbody >
152
159
</table >
153
-
154
-
155
-
0 commit comments