Skip to content

Commit 407970f

Browse files
authored
Merge pull request #54166 from my-git9/npe-2583
[zh-cn]sync kubectl_run/_index
2 parents 736af22 + 930b03f commit 407970f

File tree

1 file changed

+71
-31
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_run

1 file changed

+71
-31
lines changed

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

Lines changed: 71 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ Environment variables to set in the container.
194194
<td colspan="2">--expose --port</td>
195195
</tr>
196196
<tr>
197-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
197+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
198+
<p>
198199
<!--
199200
If true, create a ClusterIP service associated with the pod. Requires --port.
200201
-->
@@ -206,7 +207,8 @@ If true, create a ClusterIP service associated with the pod. Requires --port.
206207
<td colspan="2">--field-manager string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"kubectl-run"</td>
207208
</tr>
208209
<tr>
209-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
210+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
211+
<p>
210212
<!--
211213
Name of the manager used to track field ownership.
212214
-->
@@ -333,10 +335,10 @@ If the pod is started in interactive mode or with stdin, leave stdin open after
333335
<tr>
334336
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
335337
<!--
336-
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
338+
Output format. One of: (json, yaml, kyaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
337339
-->
338340
输出格式。可选值为:
339-
json、yaml、name、go-template、go-template-file、template、templatefile、jsonpath、jsonpath-as-json、jsonpath-file。
341+
json、yaml、kyaml、name、go-template、go-template-file、template、templatefile、jsonpath、jsonpath-as-json、jsonpath-file。
340342
</p></td>
341343
</tr>
342344

@@ -575,19 +577,34 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
575577
<td colspan="2">--as-uid string</td>
576578
</tr>
577579
<tr>
578-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
580+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
581+
<p>
579582
<!--
580583
UID to impersonate for the operation.
581584
-->
582585
操作所用的伪装 UID。
583586
</p></td>
584587
</tr>
585588

589+
<tr>
590+
<td colspan="2">--as-user-extra strings</td>
591+
</tr>
592+
<tr>
593+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
594+
<p>
595+
<!--
596+
User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.
597+
-->
598+
用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。
599+
</p></td>
600+
</tr>
601+
586602
<tr>
587603
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
588604
</tr>
589605
<tr>
590-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
606+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
607+
<p>
591608
<!--
592609
Default cache directory
593610
-->
@@ -599,7 +616,8 @@ Default cache directory
599616
<td colspan="2">--certificate-authority string</td>
600617
</tr>
601618
<tr>
602-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
619+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
620+
<p>
603621
<!--
604622
Path to a cert file for the certificate authority
605623
-->
@@ -611,7 +629,8 @@ Path to a cert file for the certificate authority
611629
<td colspan="2">--client-certificate string</td>
612630
</tr>
613631
<tr>
614-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
632+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
633+
<p>
615634
<!--
616635
Path to a client certificate file for TLS
617636
-->
@@ -623,7 +642,8 @@ TLS 客户端证书文件的路径。
623642
<td colspan="2">--client-key string</td>
624643
</tr>
625644
<tr>
626-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
645+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
646+
<p>
627647
<!--
628648
Path to a client key file for TLS
629649
-->
@@ -674,7 +694,8 @@ If true, opt-out of response compression for all requests to the server
674694
<td colspan="2">--insecure-skip-tls-verify</td>
675695
</tr>
676696
<tr>
677-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
697+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
698+
<p>
678699
<!--
679700
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
680701
-->
@@ -727,7 +748,8 @@ Require server version to match client version
727748
<td colspan="2">-n, --namespace string</td>
728749
</tr>
729750
<tr>
730-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
751+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
752+
<p>
731753
<!--
732754
If present, the namespace scope for this CLI request
733755
-->
@@ -739,7 +761,8 @@ If present, the namespace scope for this CLI request
739761
<td colspan="2">--password string</td>
740762
</tr>
741763
<tr>
742-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
764+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
765+
<p>
743766
<!--
744767
Password for basic authentication to the API server
745768
-->
@@ -751,19 +774,21 @@ Password for basic authentication to the API server
751774
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"none"</td>
752775
</tr>
753776
<tr>
754-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
777+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
778+
<p>
755779
<!--
756-
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
780+
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex|trace)
757781
-->
758-
要记录的性能分析信息。可选值为(none|cpu|heap|goroutine|threadcreate|block|mutex)。
782+
要记录的性能分析信息。可选值为(none|cpu|heap|goroutine|threadcreate|block|mutex|trace)。
759783
</p></td>
760784
</tr>
761785

762786
<tr>
763787
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"profile.pprof"</td>
764788
</tr>
765789
<tr>
766-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
790+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
791+
<p>
767792
<!--
768793
Name of the file to write the profile to
769794
-->
@@ -775,7 +800,8 @@ Name of the file to write the profile to
775800
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"0"</td>
776801
</tr>
777802
<tr>
778-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
803+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
804+
<p>
779805
<!--
780806
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.
781807
-->
@@ -788,7 +814,8 @@ The length of time to wait before giving up on a single server request. Non-zero
788814
<td colspan="2">-s, --server string</td>
789815
</tr>
790816
<tr>
791-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
817+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
818+
<p>
792819
<!--
793820
The address and port of the Kubernetes API server
794821
-->
@@ -800,7 +827,8 @@ Kubernetes API 服务器的地址和端口。
800827
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:1m0s</td>
801828
</tr>
802829
<tr>
803-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
830+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
831+
<p>
804832
<!--
805833
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
806834
-->
@@ -812,7 +840,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
812840
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"cadvisor"</td>
813841
</tr>
814842
<tr>
815-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
843+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
844+
<p>
816845
<!--
817846
database name
818847
-->
@@ -824,7 +853,8 @@ database name
824853
<td colspan="2">--storage-driver-host string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"localhost:8086"</td>
825854
</tr>
826855
<tr>
827-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
856+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
857+
<p>
828858
<!--
829859
database host:port
830860
-->
@@ -836,7 +866,8 @@ database host:port
836866
<td colspan="2">--storage-driver-password string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"root"</td>
837867
</tr>
838868
<tr>
839-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
869+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
870+
<p>
840871
<!--
841872
database password
842873
-->
@@ -848,7 +879,8 @@ database password
848879
<td colspan="2">--storage-driver-secure</td>
849880
</tr>
850881
<tr>
851-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
882+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
883+
<p>
852884
<!--
853885
use secure connection with database
854886
-->
@@ -860,7 +892,8 @@ use secure connection with database
860892
<td colspan="2">--storage-driver-table string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"stats"</td>
861893
</tr>
862894
<tr>
863-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
895+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
896+
<p>
864897
<!--
865898
table name
866899
-->
@@ -872,7 +905,8 @@ table name
872905
<td colspan="2">--storage-driver-user string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"root"</td>
873906
</tr>
874907
<tr>
875-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
908+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
909+
<p>
876910
<!--
877911
database username
878912
-->
@@ -884,7 +918,8 @@ database username
884918
<td colspan="2">--tls-server-name string</td>
885919
</tr>
886920
<tr>
887-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
921+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
922+
<p>
888923
<!--
889924
Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used
890925
-->
@@ -896,7 +931,8 @@ Server name to use for server certificate validation. If it is not provided, the
896931
<td colspan="2">--token string</td>
897932
</tr>
898933
<tr>
899-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
934+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
935+
<p>
900936
<!--
901937
Bearer token for authentication to the API server
902938
-->
@@ -908,7 +944,8 @@ Bearer token for authentication to the API server
908944
<td colspan="2">--user string</td>
909945
</tr>
910946
<tr>
911-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
947+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
948+
<p>
912949
<!--
913950
The name of the kubeconfig user to use
914951
-->
@@ -920,7 +957,8 @@ The name of the kubeconfig user to use
920957
<td colspan="2">--username string</td>
921958
</tr>
922959
<tr>
923-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
960+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
961+
<p>
924962
<!--
925963
Username for basic authentication to the API server
926964
-->
@@ -932,7 +970,8 @@ Username for basic authentication to the API server
932970
<td colspan="2">--version version[=true]</td>
933971
</tr>
934972
<tr>
935-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
973+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
974+
<p>
936975
<!--
937976
--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version
938977
-->
@@ -944,7 +983,8 @@ Username for basic authentication to the API server
944983
<td colspan="2">--warnings-as-errors</td>
945984
</tr>
946985
<tr>
947-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
986+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
987+
<p>
948988
<!--
949989
Treat warnings received from the server as errors and exit with a non-zero exit code
950990
-->

0 commit comments

Comments
 (0)