Skip to content

Commit d3f2e3c

Browse files
authored
Merge pull request #36312 from tengqm/resync-kubeadm-init-puck
[zh] Convert format for kubeadm-init-puck page
2 parents 941c379 + 1b2e084 commit d3f2e3c

File tree

1 file changed

+114
-125
lines changed

1 file changed

+114
-125
lines changed
Lines changed: 114 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,125 +1,114 @@
1-
<!--
2-
Upload the kubelet component config to a ConfigMap
3-
-->
4-
将 kubelet 组件配置上传到 ConfigMap
5-
6-
<!--
7-
### Synopsis
8-
-->
9-
10-
### 概要
11-
12-
<!--
13-
Upload the kubelet configuration extracted from the kubeadm InitConfiguration object to a kubelet-config ConfigMap in the cluster
14-
-->
15-
16-
将从 kubeadm InitConfiguration 对象提取的 kubelet 配置上传到集群中的 kubelet-config ConfigMap
17-
18-
```
19-
kubeadm init phase upload-config kubelet [flags]
20-
```
21-
22-
<!--
23-
### Examples
24-
-->
25-
26-
### 示例
27-
28-
<!--
29-
```
30-
# Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster.
31-
kubeadm init phase upload-config kubelet --config kubeadm.yaml
32-
```
33-
-->
34-
35-
```
36-
# 将 kubelet 配置从 kubeadm 配置文件上传到集群中的 ConfigMap。
37-
kubeadm init phase upload-config kubelet --config kubeadm.yaml
38-
```
39-
40-
<!--
41-
### Options
42-
-->
43-
44-
### 选项
45-
46-
<table style="width: 100%; table-layout: fixed;">
47-
<colgroup>
48-
<col span="1" style="width: 10px;" />
49-
<col span="1" />
50-
</colgroup>
51-
<tbody>
52-
53-
<tr>
54-
<td colspan="2">--config string</td>
55-
</tr>
56-
<tr>
57-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
58-
<!-- Path to a kubeadm configuration file. -->
59-
<p>
60-
到 kubeadm 配置文件的路径。
61-
</p>
62-
</td>
63-
</tr>
64-
65-
<tr>
66-
<td colspan="2">-h, --help</td>
67-
</tr>
68-
<tr>
69-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
70-
<!-- help for kubelet -->
71-
<p>
72-
kubelet 操作的帮助命令
73-
</p>
74-
</td>
75-
</tr>
76-
77-
<tr>
78-
<td colspan="2">
79-
<!-- kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf" -->
80-
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/admin.conf"</td>
81-
</tr>
82-
<tr>
83-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
84-
<!--
85-
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.
86-
-->
87-
<p>
88-
与集群通信时使用的 kubeconfig 文件。如果未设置该标签,则可以通过一组标准路径来寻找已有的 kubeconfig 文件。
89-
</p>
90-
</td>
91-
</tr>
92-
93-
</tbody>
94-
</table>
95-
96-
<!--
97-
### Options inherited from parent commands
98-
-->
99-
100-
### 从父命令继承的选项
101-
102-
<table style="width: 100%; table-layout: fixed;">
103-
<colgroup>
104-
<col span="1" style="width: 10px;" />
105-
<col span="1" />
106-
</colgroup>
107-
<tbody>
108-
109-
<tr>
110-
<td colspan="2">--rootfs string</td>
111-
</tr>
112-
<tr>
113-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
114-
<!--
115-
[EXPERIMENTAL] The path to the 'real' host root filesystem.
116-
-->
117-
<p>
118-
[实验] 到 '真实' 主机根文件系统的路径。
119-
</p>
120-
</td>
121-
</tr>
122-
123-
</tbody>
124-
</table>
125-
1+
<!--
2+
Upload the kubelet component config to a ConfigMap
3+
-->
4+
将 kubelet 组件配置上传到 ConfigMap
5+
6+
<!--
7+
### Synopsis
8+
-->
9+
### 概要
10+
11+
<!--
12+
Upload the kubelet configuration extracted from the kubeadm InitConfiguration object to a kubelet-config ConfigMap in the cluster
13+
-->
14+
将从 kubeadm InitConfiguration 对象提取的 kubelet 配置上传到集群中的
15+
`kubelet-config` ConfigMap。
16+
17+
```
18+
kubeadm init phase upload-config kubelet [flags]
19+
```
20+
21+
<!--
22+
### Examples
23+
-->
24+
### 示例
25+
26+
<!--
27+
```
28+
# Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster.
29+
kubeadm init phase upload-config kubelet --config kubeadm.yaml
30+
```
31+
-->
32+
```
33+
# 将 kubelet 配置从 kubeadm 配置文件上传到集群中的 ConfigMap。
34+
kubeadm init phase upload-config kubelet --config kubeadm.yaml
35+
```
36+
37+
<!--
38+
### Options
39+
-->
40+
### 选项
41+
42+
<table style="width: 100%; table-layout: fixed;">
43+
<colgroup>
44+
<col span="1" style="width: 10px;" />
45+
<col span="1" />
46+
</colgroup>
47+
<tbody>
48+
49+
<tr>
50+
<td colspan="2">--config string</td>
51+
</tr>
52+
<tr>
53+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
54+
<!-- Path to a kubeadm configuration file. -->
55+
<p>
56+
到 kubeadm 配置文件的路径。
57+
</p>
58+
</td>
59+
</tr>
60+
61+
<tr>
62+
<td colspan="2">-h, --help</td>
63+
</tr>
64+
<tr>
65+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
66+
<!-- help for kubelet -->
67+
<p>
68+
kubelet 操作的帮助命令
69+
</p>
70+
</td>
71+
</tr>
72+
73+
<tr>
74+
<td colspan="2">-- kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"/etc/kubernetes/admin.conf"</td>
75+
</tr>
76+
<tr>
77+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
78+
<!--
79+
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.
80+
-->
81+
<p>
82+
与集群通信时使用的 kubeconfig 文件。如果未设置该标签,
83+
则可以通过一组标准路径来寻找已有的 kubeconfig 文件。
84+
</p>
85+
</td>
86+
</tr>
87+
88+
</tbody>
89+
</table>
90+
91+
<!--
92+
### Options inherited from parent commands
93+
-->
94+
### 从父命令继承的选项
95+
96+
<table style="width: 100%; table-layout: fixed;">
97+
<colgroup>
98+
<col span="1" style="width: 10px;" />
99+
<col span="1" />
100+
</colgroup>
101+
<tbody>
102+
103+
<tr>
104+
<td colspan="2">--rootfs string</td>
105+
</tr>
106+
<tr>
107+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><!--[EXPERIMENTAL] The path to the 'real' host root filesystem. -->
108+
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
109+
</td>
110+
</tr>
111+
112+
</tbody>
113+
</table>
114+

0 commit comments

Comments
 (0)