Skip to content

Commit 4205833

Browse files
authored
Merge pull request #49097 from my-git9/pp-8698
[zh-cn]sync kubeadm_upgrade_apply_phase_addon_all.md
2 parents 3417167 + f520e97 commit 4205833

File tree

1 file changed

+130
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)