Skip to content

Commit 3212629

Browse files
authored
Merge pull request #44361 from windsonsea/initadm
[zh] Localize kubeadm_init_phase_kubeconfig_super-admin.md
2 parents 28c702a + dc79146 commit 3212629

File tree

1 file changed

+170
-0
lines changed

1 file changed

+170
-0
lines changed
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
<!--
2+
Generate a kubeconfig file for the super-admin
3+
-->
4+
为 super-admin 生成一个 kubeconfig 文件。
5+
6+
<!--
7+
### Synopsis
8+
-->
9+
### 概要
10+
11+
<!--
12+
Generate a kubeconfig file for the super-admin, and save it to super-admin.conf file.
13+
-->
14+
为 super-admin 生成一个 kubeconfig 文件,并将其保存到 super-admin.conf 文件中。
15+
16+
```
17+
kubeadm init phase kubeconfig super-admin [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">--apiserver-advertise-address string</td>
34+
</tr>
35+
<tr>
36+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
37+
<!--
38+
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
39+
-->
40+
<p>API 服务器所公布其监听的 IP 地址。如果未设置,则使用默认的网络接口。</p></td>
41+
</tr>
42+
43+
<tr>
44+
<!--
45+
--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443
46+
-->
47+
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:6443</td>
48+
</tr>
49+
<tr>
50+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
51+
<!--
52+
Port for the API Server to bind to.
53+
-->
54+
<p>API 服务器绑定的端口。</p></td>
55+
</tr>
56+
57+
<tr>
58+
<!--
59+
--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"
60+
-->
61+
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/pki"</td>
62+
</tr>
63+
<tr>
64+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
65+
<!--
66+
The path where to save and store the certificates.
67+
-->
68+
<p>保存和存储证书的路径。</p></td>
69+
</tr>
70+
71+
<tr>
72+
<td colspan="2">--config string</td>
73+
</tr>
74+
<tr>
75+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
76+
<!--
77+
Path to a kubeadm configuration file.
78+
-->
79+
<p>kubeadm 配置文件的路径。</p></td>
80+
</tr>
81+
82+
<tr>
83+
<td colspan="2">--control-plane-endpoint string</td>
84+
</tr>
85+
<tr>
86+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
87+
<!--
88+
Specify a stable IP address or DNS name for the control plane.
89+
-->
90+
<p>为控制平面指定一个稳定的 IP 地址或 DNS 名称。</p></td>
91+
</tr>
92+
93+
<tr>
94+
<td colspan="2">--dry-run</td>
95+
</tr>
96+
<tr>
97+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
98+
<!--
99+
Don't apply any changes; just output what would be done.
100+
-->
101+
<p>不做任何更改;只输出将要执行的操作。</p></td>
102+
</tr>
103+
104+
<tr>
105+
<td colspan="2">-h, --help</td>
106+
</tr>
107+
<tr>
108+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
109+
<!--
110+
help for super-admin
111+
-->
112+
<p>super-admin 的帮助信息。</p></td>
113+
</tr>
114+
115+
<tr>
116+
<!--
117+
--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes"
118+
-->
119+
<td colspan="2">--kubeconfig-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes"</td>
120+
</tr>
121+
<tr>
122+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
123+
<!--
124+
The path where to save the kubeconfig file.
125+
-->
126+
<p>保存 kubeconfig 文件的路径。</p></td>
127+
</tr>
128+
129+
<tr>
130+
<!--
131+
--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "stable-1"
132+
-->
133+
<td colspan="2">--kubernetes-version string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"stable-1"</td>
134+
</tr>
135+
<tr>
136+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
137+
<!--
138+
Choose a specific Kubernetes version for the control plane.
139+
-->
140+
<p>为控制平面指定一个特定的 Kubernetes 版本。</p></td>
141+
</tr>
142+
143+
</tbody>
144+
</table>
145+
146+
<!--
147+
### Options inherited from parent commands
148+
-->
149+
### 从父命令继承的选项
150+
151+
<table style="width: 100%; table-layout: fixed;">
152+
<colgroup>
153+
<col span="1" style="width: 10px;" />
154+
<col span="1" />
155+
</colgroup>
156+
<tbody>
157+
158+
<tr>
159+
<td colspan="2">--rootfs string</td>
160+
</tr>
161+
<tr>
162+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
163+
<!--
164+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
165+
-->
166+
<p>[实验性功能] 指向‘真实’宿主根文件系统的路径。</p></td>
167+
</tr>
168+
169+
</tbody>
170+
</table>

0 commit comments

Comments
 (0)