1- <!--
2- Run join pre-flight checks
3- -->
4- 运行 join 命令前检查。
5-
61<!--
72### Synopsis
83-->
@@ -13,17 +8,22 @@ Run pre-flight checks for kubeadm join.
138-->
149运行 kubeadm join 命令添加节点前检查。
1510
16- ```
11+ ``` shell
1712kubeadm join phase preflight [api-server-endpoint] [flags]
1813```
1914
2015<!--
2116### Examples
22- # Run join pre-flight checks using a config file.
2317-->
2418### 示例
2519
20+ <!--
2621```
22+ # Run join pre-flight checks using a config file.
23+ kubeadm join phase preflight --config kubeadm-config.yaml
24+ ```
25+ -->
26+ ``` shell
2727# 使用配置文件运行 kubeadm join 命令添加节点前检查。
2828kubeadm join phase preflight --config kubeadm-config.yaml
2929```
@@ -33,7 +33,7 @@ kubeadm join phase preflight --config kubeadm-config.yaml
3333-->
3434### 选项
3535
36- <table style =" width : 100% ; table-layout : fixed ;" >
36+ <table style =" width : 100% ; table-layout : fixed ;" >
3737<colgroup >
3838<col span =" 1 " style =" width : 10px ;" />
3939<col span =" 1 " />
@@ -45,10 +45,13 @@ kubeadm join phase preflight --config kubeadm-config.yaml
4545</tr >
4646<tr >
4747<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
48+ <p >
4849<!--
49- <p> If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.</p>
50+ If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
5051-->
51- <p >对于将要托管新的控制平面实例的节点,指定 API 服务器将公布的其正在侦听的 IP 地址。如果未设置,则使用默认网络接口。</p >
52+ 对于将要托管新的控制平面实例的节点,指定 API 服务器将公布的其正在侦听的 IP 地址。
53+ 如果未设置,则使用默认网络接口。
54+ </p >
5255</td >
5356</tr >
5457
@@ -62,10 +65,12 @@ kubeadm join phase preflight --config kubeadm-config.yaml
6265</tr >
6366<tr >
6467<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
68+ <p >
6569<!--
66- <p> If the node should host a new control plane instance, the port for the API Server to bind to.</p>
70+ If the node should host a new control plane instance, the port for the API Server to bind to.
6771-->
68- <p >针对将要托管新的控制平面实例的节点,设置 API 服务器要绑定的端口。</p >
72+ 针对将要托管新的控制平面实例的节点,设置 API 服务器要绑定的端口。
73+ </p >
6974</td >
7075</tr >
7176
@@ -89,10 +94,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
8994</tr >
9095<tr >
9196<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
97+ <p >
9298<!--
93- <p> Path to a kubeadm configuration file.</p>
99+ Path to a kubeadm configuration file.
94100-->
95- <p >kubeadm 配置文件的路径。</p >
101+ kubeadm 配置文件的路径。
102+ </p >
96103</td >
97104</tr >
98105
@@ -101,10 +108,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
101108</tr >
102109<tr >
103110<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
111+ <p >
104112<!--
105- <p> Create a new control plane instance on this node</p>
113+ Create a new control plane instance on this node
106114-->
107- <p >在此节点上创建一个新的控制平面实例。</p >
115+ 在此节点上创建一个新的控制平面实例。
116+ </p >
108117</td >
109118</tr >
110119
@@ -113,11 +122,13 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
113122</tr >
114123<tr >
115124<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
125+ <p >
116126<!--
117- <p> Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.</p>
127+ Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
118128-->
119- <p >提供给 CRI 套接字建立连接的路径。如果为空,则 kubeadm 将尝试自动检测该值;
120- 仅当安装了多个 CRI 或存在非标准的 CRI 套接字时,才使用此选项。</p >
129+ 提供给 CRI 套接字建立连接的路径。如果为空,则 kubeadm 将尝试自动检测该值;
130+ 仅当安装了多个 CRI 或存在非标准的 CRI 套接字时,才使用此选项。
131+ </p >
121132</td >
122133</tr >
123134
@@ -126,10 +137,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
126137</tr >
127138<tr >
128139<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
140+ <p >
129141<!--
130- <p> For file-based discovery, a file or URL from which to load cluster information.</p>
142+ For file-based discovery, a file or URL from which to load cluster information.
131143-->
132- <p >对于基于文件的发现,给出用于加载集群信息的文件或者 URL。</p >
144+ 对于基于文件的发现,给出用于加载集群信息的文件或者 URL。
145+ </p >
133146</td >
134147</tr >
135148
@@ -138,10 +151,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
138151</tr >
139152<tr >
140153<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
154+ <p >
141155<!--
142- <p> For token-based discovery, the token used to validate cluster information fetched from the API server.</p>
156+ For token-based discovery, the token used to validate cluster information fetched from the API server.
143157-->
144- <p >对于基于令牌的发现,该令牌用于验证从 API 服务器获取的集群信息。</p >
158+ 对于基于令牌的发现,该令牌用于验证从 API 服务器获取的集群信息。
159+ </p >
145160</td >
146161</tr >
147162
@@ -150,10 +165,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
150165</tr >
151166<tr >
152167<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
168+ <p >
153169<!--
154- <p> For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").</p>
170+ For token-based discovery, validate that the root CA public key matches this hash (format: "<type>:<value>").
155171-->
156- <p >对于基于令牌的发现,验证根 CA 公钥是否匹配此哈希值(格式:"< ; type> ; :< ; value> ; ")。</p >
172+ 对于基于令牌的发现,验证根 CA 公钥是否匹配此哈希值(格式:"< ; type> ; :< ; value> ; ")。
173+ </p >
157174</td >
158175</tr >
159176
@@ -162,10 +179,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
162179</tr >
163180<tr >
164181<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
182+ <p >
165183<!--
166- <p> For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.</p>
184+ For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.
167185-->
168- <p >对于基于令牌的发现,允许在未关联 --discovery-token-ca-cert-hash 参数的情况下添加节点。</p >
186+ 对于基于令牌的发现,允许在未关联 --discovery-token-ca-cert-hash 参数的情况下添加节点。
187+ </p >
169188</td >
170189</tr >
171190
@@ -174,10 +193,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
174193</tr >
175194<tr >
176195<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
196+ <p >
177197<!--
178- <p> Don't apply any changes; just output what would be done.</p>
198+ Don't apply any changes; just output what would be done.
179199-->
180- <p >不做任何更改;只输出将要执行的操作。</p >
200+ 不做任何更改;只输出将要执行的操作。
201+ </p >
181202</td >
182203</tr >
183204
@@ -186,10 +207,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
186207</tr >
187208<tr >
188209<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
210+ <p >
189211<!--
190- <p> help for preflight</p>
212+ help for preflight
191213-->
192- <p >preflight 操作的帮助命令。</p >
214+ preflight 操作的帮助命令。
215+ </p >
193216</td >
194217</tr >
195218
@@ -198,10 +221,13 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
198221</tr >
199222<tr >
200223<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
224+ <p >
201225<!--
202- <p> A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</p>
226+ A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
203227-->
204- <p >错误将显示为警告的检查列表;例如:'IsPrivilegedUser,Swap'。取值为 'all' 时将忽略检查中的所有错误。</p >
228+ 错误将显示为警告的检查列表;例如:'IsPrivilegedUser,Swap'。
229+ 取值为 'all' 时将忽略检查中的所有错误。
230+ </p >
205231</td >
206232</tr >
207233
@@ -210,10 +236,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
210236</tr >
211237<tr >
212238<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
239+ <p >
213240<!--
214- <p> Specify the node name.</p>
241+ Specify the node name.
215242-->
216- <p >指定节点名称。</p >
243+ 指定节点名称。
244+ </p >
217245</td >
218246</tr >
219247
@@ -222,10 +250,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
222250</tr >
223251<tr >
224252<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
253+ <p >
225254<!--
226- <p> Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.</p>
255+ Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.
227256-->
228- <p >指定在加入节点时用于临时通过 Kubernetes 控制平面进行身份验证的令牌。</p >
257+ 指定在加入节点时用于临时通过 Kubernetes 控制平面进行身份验证的令牌。
258+ </p >
229259</td >
230260</tr >
231261
@@ -234,10 +264,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
234264</tr >
235265<tr >
236266<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
267+ <p >
237268<!--
238- <p> Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.</p>
269+ Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.
239270-->
240- <p >如果未提供这些值,则将它们用于 discovery-token 令牌和 tls-bootstrap 令牌。</p >
271+ 如果未提供这些值,则将它们用于 discovery-token 令牌和 tls-bootstrap 令牌。
272+ </p >
241273</td >
242274</tr >
243275
@@ -249,7 +281,7 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
249281-->
250282### 从父命令继承的选项
251283
252- <table style =" width : 100% ; table-layout : fixed ;" >
284+ <table style =" width : 100% ; table-layout : fixed ;" >
253285<colgroup >
254286<col span =" 1 " style =" width : 10px ;" />
255287<col span =" 1 " />
@@ -261,10 +293,12 @@ Use this key to decrypt the certificate secrets uploaded by init. The certificat
261293</tr >
262294<tr >
263295<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
296+ <p >
264297<!--
265- <p> [EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
298+ [EXPERIMENTAL] The path to the 'real' host root filesystem.
266299-->
267- <p >[实验] 指向 '真实' 宿主机根文件系统的路径。</p >
300+ [ 实验] 指向 '真实' 宿主机根文件系统的路径。
301+ </p >
268302</td >
269303</tr >
270304
0 commit comments