Skip to content

Commit 3b11f8a

Browse files
authored
Merge pull request #52252 from my-git9/npa-14038
[zh-cn]sync kubectl_explain/_index.md
2 parents f891b3b + 572789a commit 3b11f8a

File tree

1 file changed

+61
-48
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_explain

1 file changed

+61
-48
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_explain/_index.md

Lines changed: 61 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ explain 操作的帮助命令。
119119

120120
<tr>
121121
<td colspan="2">-o, --output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"plaintext"</td>
122-
<td colspan="2">--output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"plaintext"</td>
123122
</tr>
124123
<tr>
125124
<td></td><td style="line-height: 130%; word-wrap: break-word;">
@@ -204,7 +203,8 @@ UID to impersonate for the operation.
204203
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
205204
</tr>
206205
<tr>
207-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
206+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
207+
<p>
208208
<!--
209209
Default cache directory
210210
-->
@@ -216,7 +216,8 @@ Default cache directory
216216
<td colspan="2">--certificate-authority string</td>
217217
</tr>
218218
<tr>
219-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
219+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
220+
<p>
220221
<!--
221222
Path to a cert file for the certificate authority
222223
-->
@@ -228,7 +229,8 @@ Path to a cert file for the certificate authority
228229
<td colspan="2">--client-certificate string</td>
229230
</tr>
230231
<tr>
231-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
232+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
233+
<p>
232234
<!--
233235
Path to a client certificate file for TLS
234236
-->
@@ -240,7 +242,8 @@ TLS 客户端证书文件的路径。
240242
<td colspan="2">--client-key string</td>
241243
</tr>
242244
<tr>
243-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
245+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
246+
<p>
244247
<!--
245248
Path to a client key file for TLS
246249
-->
@@ -252,7 +255,8 @@ TLS 客户端密钥文件的路径。
252255
<td colspan="2">--cluster string</td>
253256
</tr>
254257
<tr>
255-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
258+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
259+
<p>
256260
<!--
257261
The name of the kubeconfig cluster to use
258262
-->
@@ -264,43 +268,21 @@ The name of the kubeconfig cluster to use
264268
<td colspan="2">--context string</td>
265269
</tr>
266270
<tr>
267-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
271+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
272+
<p>
268273
<!--
269274
The name of the kubeconfig context to use
270275
-->
271276
要使用的 kubeconfig 上下文的名称。
272277
</p></td>
273278
</tr>
274279

275-
<tr>
276-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
277-
</tr>
278-
<tr>
279-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
280-
<!--
281-
Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.
282-
-->
283-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
284-
</p></td>
285-
</tr>
286-
287-
<tr>
288-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
289-
</tr>
290-
<tr>
291-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
292-
<!--
293-
Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.
294-
-->
295-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
296-
</p></td>
297-
</tr>
298-
299280
<tr>
300281
<td colspan="2">--disable-compression</td>
301282
</tr>
302283
<tr>
303-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
284+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
285+
<p>
304286
<!--
305287
If true, opt-out of response compression for all requests to the server
306288
-->
@@ -312,7 +294,8 @@ If true, opt-out of response compression for all requests to the server
312294
<td colspan="2">--insecure-skip-tls-verify</td>
313295
</tr>
314296
<tr>
315-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
297+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
298+
<p>
316299
<!--
317300
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
318301
-->
@@ -324,19 +307,36 @@ If true, the server's certificate will not be checked for validity. This will ma
324307
<td colspan="2">--kubeconfig string</td>
325308
</tr>
326309
<tr>
327-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
310+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
311+
<p>
328312
<!--
329313
Path to the kubeconfig file to use for CLI requests.
330314
-->
331315
CLI 请求要使用的 kubeconfig 文件的路径。
332316
</p></td>
333317
</tr>
334318

319+
<tr>
320+
<td colspan="2">--kuberc string</td>
321+
</tr>
322+
<tr>
323+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
324+
<p>
325+
<!--
326+
Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.
327+
-->
328+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
329+
特性门控或关闭 KUBERC=off 特性来禁用此功能。
330+
</p>
331+
</td>
332+
</tr>
333+
335334
<tr>
336335
<td colspan="2">--match-server-version</td>
337336
</tr>
338337
<tr>
339-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
338+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
339+
<p>
340340
<!--
341341
Require server version to match client version
342342
-->
@@ -348,7 +348,8 @@ Require server version to match client version
348348
<td colspan="2">-n, --namespace string</td>
349349
</tr>
350350
<tr>
351-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
351+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
352+
<p>
352353
<!--
353354
If present, the namespace scope for this CLI request
354355
-->
@@ -360,7 +361,8 @@ If present, the namespace scope for this CLI request
360361
<td colspan="2">--password string</td>
361362
</tr>
362363
<tr>
363-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
364+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
365+
<p>
364366
<!--
365367
Password for basic authentication to the API server
366368
-->
@@ -372,7 +374,8 @@ Password for basic authentication to the API server
372374
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"none"</td>
373375
</tr>
374376
<tr>
375-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
377+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
378+
<p>
376379
<!--
377380
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
378381
-->
@@ -384,7 +387,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
384387
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"profile.pprof"</td>
385388
</tr>
386389
<tr>
387-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
390+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
391+
<p>
388392
<!--
389393
Name of the file to write the profile to
390394
-->
@@ -396,7 +400,8 @@ Name of the file to write the profile to
396400
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"0"</td>
397401
</tr>
398402
<tr>
399-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
403+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
404+
<p>
400405
<!--
401406
The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.
402407
-->
@@ -409,7 +414,8 @@ The length of time to wait before giving up on a single server request. Non-zero
409414
<td colspan="2">-s, --server string</td>
410415
</tr>
411416
<tr>
412-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
417+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
418+
<p>
413419
<!--
414420
The address and port of the Kubernetes API server
415421
-->
@@ -421,7 +427,8 @@ Kubernetes API 服务器的地址和端口。
421427
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:1m0s</td>
422428
</tr>
423429
<tr>
424-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
430+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
431+
<p>
425432
<!--
426433
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
427434
-->
@@ -433,7 +440,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
433440
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"cadvisor"</td>
434441
</tr>
435442
<tr>
436-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
443+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
444+
<p>
437445
<!--
438446
database name
439447
-->
@@ -445,7 +453,8 @@ database name
445453
<td colspan="2">--storage-driver-host string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"localhost:8086"</td>
446454
</tr>
447455
<tr>
448-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
456+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
457+
<p>
449458
<!--
450459
database host:port
451460
-->
@@ -457,7 +466,8 @@ database host:port
457466
<td colspan="2">--storage-driver-password string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"root"</td>
458467
</tr>
459468
<tr>
460-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
469+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
470+
<p>
461471
<!--
462472
database password
463473
-->
@@ -469,7 +479,8 @@ database password
469479
<td colspan="2">--storage-driver-secure</td>
470480
</tr>
471481
<tr>
472-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
482+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
483+
<p>
473484
<!--
474485
use secure connection with database
475486
-->
@@ -481,7 +492,8 @@ use secure connection with database
481492
<td colspan="2">--storage-driver-table string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"stats"</td>
482493
</tr>
483494
<tr>
484-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
495+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
496+
<p>
485497
<!--
486498
table name
487499
-->
@@ -505,7 +517,8 @@ database username
505517
<td colspan="2">--tls-server-name string</td>
506518
</tr>
507519
<tr>
508-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
520+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
521+
<p>
509522
<!--
510523
Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used
511524
-->

0 commit comments

Comments
 (0)