Skip to content

Commit 5d6c010

Browse files
committed
[zh-cn]sync kubectl_config_set-credentials.md
Signed-off-by: xin.li <[email protected]>
1 parent 7a1e772 commit 5d6c010

File tree

1 file changed

+57
-45
lines changed

1 file changed

+57
-45
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_config/kubectl_config_set-credentials.md

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ kubeconfig 中用户条目的用户名。
335335
<td colspan="2">--as string</td>
336336
</tr>
337337
<tr>
338-
<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>
339340
<!--
340341
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
341342
-->
@@ -347,7 +348,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
347348
<td colspan="2">--as-group strings</td>
348349
</tr>
349350
<tr>
350-
<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>
351353
<!--
352354
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
353355
-->
@@ -359,7 +361,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
359361
<td colspan="2">--as-uid string</td>
360362
</tr>
361363
<tr>
362-
<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>
363366
<!--
364367
UID to impersonate for the operation.
365368
-->
@@ -371,7 +374,8 @@ UID to impersonate for the operation.
371374
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
372375
</tr>
373376
<tr>
374-
<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>
375379
<!--
376380
Default cache directory
377381
-->
@@ -383,7 +387,8 @@ Default cache directory
383387
<td colspan="2">--certificate-authority string</td>
384388
</tr>
385389
<tr>
386-
<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>
387392
<!--
388393
Path to a cert file for the certificate authority
389394
-->
@@ -395,7 +400,8 @@ Path to a cert file for the certificate authority
395400
<td colspan="2">--client-certificate string</td>
396401
</tr>
397402
<tr>
398-
<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>
399405
<!--
400406
Path to a client certificate file for TLS
401407
-->
@@ -407,7 +413,8 @@ TLS 客户端证书文件的路径。
407413
<td colspan="2">--client-key string</td>
408414
</tr>
409415
<tr>
410-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
416+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
417+
<p>
411418
<!--
412419
Path to a client key file for TLS
413420
-->
@@ -419,7 +426,8 @@ TLS 客户端密钥文件的路径。
419426
<td colspan="2">--cluster string</td>
420427
</tr>
421428
<tr>
422-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
429+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
430+
<p>
423431
<!--
424432
The name of the kubeconfig cluster to use
425433
-->
@@ -431,43 +439,21 @@ The name of the kubeconfig cluster to use
431439
<td colspan="2">--context string</td>
432440
</tr>
433441
<tr>
434-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
442+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
443+
<p>
435444
<!--
436445
The name of the kubeconfig context to use
437446
-->
438447
要使用的 kubeconfig 上下文的名称。
439448
</p></td>
440449
</tr>
441450

442-
<tr>
443-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
444-
</tr>
445-
<tr>
446-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
447-
<!--
448-
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.
449-
-->
450-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
451-
</p></td>
452-
</tr>
453-
454-
<tr>
455-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
456-
</tr>
457-
<tr>
458-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
459-
<!--
460-
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.
461-
-->
462-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
463-
</p></td>
464-
</tr>
465-
466451
<tr>
467452
<td colspan="2">--disable-compression</td>
468453
</tr>
469454
<tr>
470-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
455+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
456+
<p>
471457
<!--
472458
If true, opt-out of response compression for all requests to the server
473459
-->
@@ -479,7 +465,8 @@ If true, opt-out of response compression for all requests to the server
479465
<td colspan="2">--insecure-skip-tls-verify</td>
480466
</tr>
481467
<tr>
482-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
468+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
469+
<p>
483470
<!--
484471
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
485472
-->
@@ -491,19 +478,36 @@ If true, the server's certificate will not be checked for validity. This will ma
491478
<td colspan="2">--kubeconfig string</td>
492479
</tr>
493480
<tr>
494-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
481+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
482+
<p>
495483
<!--
496484
Path to the kubeconfig file to use for CLI requests.
497485
-->
498486
CLI 请求要使用的 kubeconfig 文件的路径。
499487
</p></td>
500488
</tr>
501489

490+
<tr>
491+
<td colspan="2">--kuberc string</td>
492+
</tr>
493+
<tr>
494+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
495+
<p>
496+
<!--
497+
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.
498+
-->
499+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
500+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
501+
</p>
502+
</td>
503+
</tr>
504+
502505
<tr>
503506
<td colspan="2">--match-server-version</td>
504507
</tr>
505508
<tr>
506-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
509+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
510+
<p>
507511
<!--
508512
Require server version to match client version
509513
-->
@@ -515,7 +519,8 @@ Require server version to match client version
515519
<td colspan="2">-n, --namespace string</td>
516520
</tr>
517521
<tr>
518-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
522+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
523+
<p>
519524
<!--
520525
If present, the namespace scope for this CLI request
521526
-->
@@ -527,7 +532,8 @@ If present, the namespace scope for this CLI request
527532
<td colspan="2">--password string</td>
528533
</tr>
529534
<tr>
530-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
535+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
536+
<p>
531537
<!--
532538
Password for basic authentication to the API server
533539
-->
@@ -539,7 +545,8 @@ Password for basic authentication to the API server
539545
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
540546
</tr>
541547
<tr>
542-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
548+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
549+
<p>
543550
<!--
544551
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
545552
-->
@@ -551,7 +558,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
551558
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
552559
</tr>
553560
<tr>
554-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
561+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
562+
<p>
555563
<!--
556564
Name of the file to write the profile to
557565
-->
@@ -563,7 +571,8 @@ Name of the file to write the profile to
563571
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
564572
</tr>
565573
<tr>
566-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
574+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
575+
<p>
567576
<!--
568577
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.
569578
-->
@@ -576,7 +585,8 @@ The length of time to wait before giving up on a single server request. Non-zero
576585
<td colspan="2">-s, --server string</td>
577586
</tr>
578587
<tr>
579-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
588+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
589+
<p>
580590
<!--
581591
The address and port of the Kubernetes API server
582592
-->
@@ -588,7 +598,8 @@ Kubernetes API 服务器的地址和端口。
588598
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
589599
</tr>
590600
<tr>
591-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
601+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
602+
<p>
592603
<!--
593604
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
594605
-->
@@ -600,7 +611,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
600611
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
601612
</tr>
602613
<tr>
603-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
614+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
615+
<p>
604616
<!--
605617
database name
606618
-->

0 commit comments

Comments
 (0)