Skip to content

Commit 16efe7f

Browse files
authored
Merge pull request #52726 from my-git9/npe-32734
[zh-cn]sync kubectl_apply/_index.md
2 parents bb018c3 + 2ef5b0f commit 16efe7f

File tree

1 file changed

+57
-45
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_apply

1 file changed

+57
-45
lines changed

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

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,8 @@ If true, wait for resources to be gone before returning. This waits for finalize
446446
<td colspan="2">--as string</td>
447447
</tr>
448448
<tr>
449-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
449+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
450+
<p>
450451
<!--
451452
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
452453
-->
@@ -458,7 +459,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
458459
<td colspan="2">--as-group strings</td>
459460
</tr>
460461
<tr>
461-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
462+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
463+
<p>
462464
<!--
463465
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
464466
-->
@@ -470,7 +472,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
470472
<td colspan="2">--as-uid string</td>
471473
</tr>
472474
<tr>
473-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
475+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
476+
<p>
474477
<!--
475478
UID to impersonate for the operation.
476479
-->
@@ -482,7 +485,8 @@ UID to impersonate for the operation.
482485
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
483486
</tr>
484487
<tr>
485-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
488+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
489+
<p>
486490
<!--
487491
Default cache directory
488492
-->
@@ -494,7 +498,8 @@ Default cache directory
494498
<td colspan="2">--certificate-authority string</td>
495499
</tr>
496500
<tr>
497-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
501+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
502+
<p>
498503
<!--
499504
Path to a cert file for the certificate authority
500505
-->
@@ -506,7 +511,8 @@ Path to a cert file for the certificate authority
506511
<td colspan="2">--client-certificate string</td>
507512
</tr>
508513
<tr>
509-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
514+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
515+
<p>
510516
<!--
511517
Path to a client certificate file for TLS
512518
-->
@@ -518,7 +524,8 @@ TLS 客户端证书文件的路径。
518524
<td colspan="2">--client-key string</td>
519525
</tr>
520526
<tr>
521-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
527+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
528+
<p>
522529
<!--
523530
Path to a client key file for TLS
524531
-->
@@ -530,7 +537,8 @@ TLS 客户端密钥文件的路径。
530537
<td colspan="2">--cluster string</td>
531538
</tr>
532539
<tr>
533-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
540+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
541+
<p>
534542
<!--
535543
The name of the kubeconfig cluster to use
536544
-->
@@ -542,43 +550,21 @@ The name of the kubeconfig cluster to use
542550
<td colspan="2">--context string</td>
543551
</tr>
544552
<tr>
545-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
553+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
554+
<p>
546555
<!--
547556
The name of the kubeconfig context to use
548557
-->
549558
要使用的 kubeconfig 上下文的名称。
550559
</p></td>
551560
</tr>
552561

553-
<tr>
554-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
555-
</tr>
556-
<tr>
557-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
558-
<!--
559-
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.
560-
-->
561-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
562-
</p></td>
563-
</tr>
564-
565-
<tr>
566-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
567-
</tr>
568-
<tr>
569-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
570-
<!--
571-
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.
572-
-->
573-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
574-
</p></td>
575-
</tr>
576-
577562
<tr>
578563
<td colspan="2">--disable-compression</td>
579564
</tr>
580565
<tr>
581-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
566+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
567+
<p>
582568
<!--
583569
If true, opt-out of response compression for all requests to the server
584570
-->
@@ -590,7 +576,8 @@ If true, opt-out of response compression for all requests to the server
590576
<td colspan="2">--insecure-skip-tls-verify</td>
591577
</tr>
592578
<tr>
593-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
579+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
580+
<p>
594581
<!--
595582
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
596583
-->
@@ -602,19 +589,36 @@ If true, the server's certificate will not be checked for validity. This will ma
602589
<td colspan="2">--kubeconfig string</td>
603590
</tr>
604591
<tr>
605-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
592+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
593+
<p>
606594
<!--
607595
Path to the kubeconfig file to use for CLI requests.
608596
-->
609597
CLI 请求要使用的 kubeconfig 文件的路径。
610598
</p></td>
611599
</tr>
612600

601+
<tr>
602+
<td colspan="2">--kuberc string</td>
603+
</tr>
604+
<tr>
605+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
606+
<p>
607+
<!--
608+
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.
609+
-->
610+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
611+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
612+
</p>
613+
</td>
614+
</tr>
615+
613616
<tr>
614617
<td colspan="2">--match-server-version</td>
615618
</tr>
616619
<tr>
617-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
620+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
621+
<p>
618622
<!--
619623
Require server version to match client version
620624
-->
@@ -626,7 +630,8 @@ Require server version to match client version
626630
<td colspan="2">-n, --namespace string</td>
627631
</tr>
628632
<tr>
629-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
633+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
634+
<p>
630635
<!--
631636
If present, the namespace scope for this CLI request
632637
-->
@@ -638,7 +643,8 @@ If present, the namespace scope for this CLI request
638643
<td colspan="2">--password string</td>
639644
</tr>
640645
<tr>
641-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
646+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
647+
<p>
642648
<!--
643649
Password for basic authentication to the API server
644650
-->
@@ -650,7 +656,8 @@ Password for basic authentication to the API server
650656
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
651657
</tr>
652658
<tr>
653-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
659+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
660+
<p>
654661
<!--
655662
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
656663
-->
@@ -662,7 +669,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
662669
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
663670
</tr>
664671
<tr>
665-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
672+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
673+
<p>
666674
<!--
667675
Name of the file to write the profile to
668676
-->
@@ -674,7 +682,8 @@ Name of the file to write the profile to
674682
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
675683
</tr>
676684
<tr>
677-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
685+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
686+
<p>
678687
<!--
679688
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.
680689
-->
@@ -687,7 +696,8 @@ The length of time to wait before giving up on a single server request. Non-zero
687696
<td colspan="2">-s, --server string</td>
688697
</tr>
689698
<tr>
690-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
699+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
700+
<p>
691701
<!--
692702
The address and port of the Kubernetes API server
693703
-->
@@ -699,7 +709,8 @@ Kubernetes API 服务器的地址和端口。
699709
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
700710
</tr>
701711
<tr>
702-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
712+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
713+
<p>
703714
<!--
704715
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
705716
-->
@@ -711,7 +722,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
711722
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
712723
</tr>
713724
<tr>
714-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
725+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
726+
<p>
715727
<!--
716728
database name
717729
-->

0 commit comments

Comments
 (0)