Skip to content

Commit 2537df5

Browse files
authored
Merge pull request #49123 from my-git9/pp-10991
[zh-cn]sync kubeadm_upgrade_apply_phase_post-upgrade.md
2 parents 49eecd2 + dcdb12f commit 2537df5

File tree

1 file changed

+119
-0
lines changed

1 file changed

+119
-0
lines changed
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<!--
2+
Run post upgrade tasks
3+
-->
4+
运行升级后的任务
5+
6+
<!--
7+
### Synopsis
8+
-->
9+
### 概要
10+
11+
<!--
12+
Run post upgrade tasks
13+
-->
14+
运行升级后的任务
15+
16+
```shell
17+
kubeadm upgrade apply phase post-upgrade [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 the actions that 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+
<!--
63+
help for post-upgrade
64+
-->
65+
<p>
66+
post-upgrade 操作的帮助命令。
67+
</p>
68+
</td>
69+
</tr>
70+
71+
<tr>
72+
<td colspan="2">
73+
<!--
74+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"
75+
-->
76+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值: "/etc/kubernetes/admin.conf"
77+
</td>
78+
</tr>
79+
<tr>
80+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
81+
<p>
82+
<!--
83+
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.
84+
-->
85+
用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。
86+
</p>
87+
</td>
88+
</tr>
89+
90+
</tbody>
91+
</table>
92+
93+
<!--
94+
### Options inherited from parent commands
95+
-->
96+
### 从父命令继承的选项
97+
98+
<table style="width: 100%; table-layout: fixed;">
99+
<colgroup>
100+
<col span="1" style="width: 10px;" />
101+
<col span="1" />
102+
</colgroup>
103+
<tbody>
104+
105+
<tr>
106+
<td colspan="2">--rootfs string</td>
107+
</tr>
108+
<tr>
109+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
110+
<!--
111+
The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.
112+
-->
113+
到“真实”主机根文件系统的路径。设置此参数将导致 kubeadm 切换到所提供的路径。
114+
</p>
115+
</td>
116+
</tr>
117+
118+
</tbody>
119+
</table>

0 commit comments

Comments
 (0)