Skip to content

Commit 00c329e

Browse files
authored
Merge pull request #49114 from my-git9/pp-5965
[zh-cn]sync kubeadm_upgrade_node_phase_addon_all
2 parents f97d277 + 23438d4 commit 00c329e

File tree

1 file changed

+141
-0
lines changed

1 file changed

+141
-0
lines changed
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
<!--
2+
Upgrade all the addons
3+
-->
4+
升级所有插件
5+
6+
<!--
7+
### Synopsis
8+
-->
9+
### 概要
10+
11+
<!--
12+
Upgrade all the addons
13+
-->
14+
升级所有插件
15+
16+
```shell
17+
kubeadm upgrade node phase addon all [flags]
18+
```
19+
20+
<!--
21+
### Options
22+
-->
23+
### 选项
24+
25+
<table style="width: 100%; table-layout: fixed;">
26+
<colgroup>
27+
<col span="1" style="width: 10px;" />
28+
<col span="1" />
29+
</colgroup>
30+
<tbody>
31+
32+
<tr>
33+
<td colspan="2">--config string</td>
34+
</tr>
35+
<tr>
36+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
37+
<!--
38+
Path to a kubeadm configuration file.
39+
-->
40+
<p>
41+
kubeadm 配置文件的路径。
42+
</p>
43+
</td>
44+
</tr>
45+
46+
<tr>
47+
<td colspan="2">--dry-run</td>
48+
</tr>
49+
<tr>
50+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
51+
<p>
52+
<!--
53+
Do not change any state, just output the actions that would be performed.
54+
-->
55+
不改变任何状态,只输出将要执行的操作。
56+
</p>
57+
</td>
58+
</tr>
59+
60+
<tr>
61+
<td colspan="2">-h, --help</td>
62+
</tr>
63+
<tr>
64+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
65+
<!--
66+
help for all
67+
-->
68+
<p>
69+
all 操作的帮助命令。
70+
</p>
71+
</td>
72+
</tr>
73+
74+
<tr>
75+
<td colspan="2">
76+
<!--
77+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"
78+
-->
79+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值: "/etc/kubernetes/admin.conf"
80+
</td>
81+
</tr>
82+
<tr>
83+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
84+
<p>
85+
<!--
86+
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.
87+
-->
88+
用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。
89+
</p>
90+
</td>
91+
</tr>
92+
93+
<tr>
94+
<td colspan="2">--patches string</td>
95+
</tr>
96+
<tr>
97+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
98+
<!--
99+
Path to a directory that contains files named &quot;target[suffix][+patchtype].extension&quot;. For example, &quot;kube-apiserver0+merge.yaml&quot; or just &quot;etcd.json&quot;. &quot;target&quot; can be one of &quot;kube-apiserver&quot;, &quot;kube-controller-manager&quot;, &quot;kube-scheduler&quot;, &quot;etcd&quot;, &quot;kubeletconfiguration&quot;. &quot;patchtype&quot; can be one of &quot;strategic&quot;, &quot;merge&quot; or &quot;json&quot; and they match the patch formats supported by kubectl. The default &quot;patchtype&quot; is &quot;strategic&quot;. &quot;extension&quot; must be either &quot;json&quot; or &quot;yaml&quot;. &quot;suffix&quot; is an optional string that can be used to determine which patches are applied first alpha-numerically.
100+
-->
101+
包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
102+
例如,&quot;kube-apiserver0+merge.yaml&quot;或仅仅是 &quot;etcd.json&quot;
103+
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot;&quot;kubeletconfiguration&quot; 之一。
104+
&quot;patchtype&quot; 可以是 &quot;strategic&quot;&quot;merge&quot; 或者 &quot;json&quot; 之一,
105+
并且它们与 kubectl 支持的补丁格式相同。
106+
默认的 &quot;patchtype&quot;&quot;strategic&quot;
107+
&quot;extension&quot; 必须是&quot;json&quot;&quot;yaml&quot;
108+
&quot;suffix&quot; 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
109+
</p></td>
110+
</tr>
111+
112+
</tbody>
113+
</table>
114+
115+
<!--
116+
### Options inherited from parent commands
117+
-->
118+
### 从父命令继承的选项
119+
120+
<table style="width: 100%; table-layout: fixed;">
121+
<colgroup>
122+
<col span="1" style="width: 10px;" />
123+
<col span="1" />
124+
</colgroup>
125+
<tbody>
126+
127+
<tr>
128+
<td colspan="2">--rootfs string</td>
129+
</tr>
130+
<tr>
131+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
132+
<!--
133+
The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.
134+
-->
135+
到“真实”主机根文件系统的路径。设置此参数将导致 kubeadm 切换到所提供的路径。
136+
</p>
137+
</td>
138+
</tr>
139+
140+
</tbody>
141+
</table>

0 commit comments

Comments
 (0)