@@ -60,7 +60,7 @@ kubectl create deployment my-dep --image=busybox:latest --image=ubuntu:latest --
6060
6161## {{% heading "options" %}}
6262
63- <table style =" width : 100% ; table-layout : fixed ;" >
63+ <table style =" width : 100% ; table-layout : fixed ;" >
6464<colgroup >
6565<col span =" 1 " style =" width : 10px ;" />
6666<col span =" 1 " />
@@ -71,7 +71,8 @@ kubectl create deployment my-dep --image=busybox:latest --image=ubuntu:latest --
7171<td colspan =" 2 " >--allow-missing-template-keys  ;  ;  ;  ;  ; <!-- Default:--> 默认值:true</td >
7272</tr >
7373<tr >
74- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
74+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
75+ <p >
7576<!--
7677If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.
7778-->
@@ -84,7 +85,8 @@ If true, ignore any errors in templates when a field or map key is missing in th
8485<td colspan =" 2 " >--dry-run string[="unchanged"]  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"none"</td >
8586</tr >
8687<tr >
87- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
88+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
89+ <p >
8890<!--
8991Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.
9092-->
@@ -97,7 +99,8 @@ Must be "none", "server", or "client". If client s
9799<td colspan =" 2 " >--field-manager string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"kubectl-create"</td >
98100</tr >
99101<tr >
100- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
102+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
103+ <p >
101104<!--
102105Name of the manager used to track field ownership.
103106-->
@@ -109,7 +112,8 @@ Name of the manager used to track field ownership.
109112<td colspan =" 2 " >-h, --help</td >
110113</tr >
111114<tr >
112- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
115+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
116+ <p >
113117<!--
114118help for deployment
115119-->
@@ -121,7 +125,8 @@ deployment 操作的帮助命令。
121125<td colspan =" 2 " >--image strings</td >
122126</tr >
123127<tr >
124- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
128+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
129+ <p >
125130<!--
126131Image names to run. A deployment can have multiple images set for multi-container pod.
127132-->
@@ -133,7 +138,8 @@ Image names to run. A deployment can have multiple images set for multi-containe
133138<td colspan =" 2 " >-o, --output string</td >
134139</tr >
135140<tr >
136- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
141+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
142+ <p >
137143<!--
138144Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
139145-->
@@ -322,7 +328,8 @@ TLS 客户端密钥文件的路径。
322328<td colspan =" 2 " >--cluster string</td >
323329</tr >
324330<tr >
325- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
331+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
332+ <p >
326333<!--
327334The name of the kubeconfig cluster to use
328335-->
@@ -334,43 +341,21 @@ The name of the kubeconfig cluster to use
334341<td colspan =" 2 " >--context string</td >
335342</tr >
336343<tr >
337- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
344+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
345+ <p >
338346<!--
339347The name of the kubeconfig context to use
340348-->
341349要使用的 kubeconfig 上下文的名称。
342350</p ></td >
343351</tr >
344352
345- <tr >
346- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
347- </tr >
348- <tr >
349- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
350- <!--
351- 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.
352- -->
353- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
354- </p ></td >
355- </tr >
356-
357- <tr >
358- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
359- </tr >
360- <tr >
361- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
362- <!--
363- 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.
364- -->
365- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
366- </p ></td >
367- </tr >
368-
369353<tr >
370354<td colspan =" 2 " >--disable-compression</td >
371355</tr >
372356<tr >
373- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
357+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
358+ <p >
374359<!--
375360If true, opt-out of response compression for all requests to the server
376361-->
@@ -394,19 +379,36 @@ If true, the server's certificate will not be checked for validity. This will ma
394379<td colspan =" 2 " >--kubeconfig string</td >
395380</tr >
396381<tr >
397- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
382+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
383+ <p >
398384<!--
399385Path to the kubeconfig file to use for CLI requests.
400386-->
401387CLI 请求要使用的 kubeconfig 文件的路径。
402388</p ></td >
403389</tr >
404390
391+ <tr >
392+ <td colspan =" 2 " >--kuberc string</td >
393+ </tr >
394+ <tr >
395+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
396+ <p >
397+ <!--
398+ 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.
399+ -->
400+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
401+ 特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
402+ </p >
403+ </td >
404+ </tr >
405+
405406<tr >
406407<td colspan =" 2 " >--match-server-version</td >
407408</tr >
408409<tr >
409- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
410+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
411+ <p >
410412<!--
411413Require server version to match client version
412414-->
@@ -418,7 +420,8 @@ Require server version to match client version
418420<td colspan =" 2 " >-n, --namespace string</td >
419421</tr >
420422<tr >
421- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
423+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
424+ <p >
422425<!--
423426If present, the namespace scope for this CLI request
424427-->
@@ -430,7 +433,8 @@ If present, the namespace scope for this CLI request
430433<td colspan =" 2 " >--password string</td >
431434</tr >
432435<tr >
433- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
436+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
437+ <p >
434438<!--
435439Password for basic authentication to the API server
436440-->
@@ -442,7 +446,8 @@ Password for basic authentication to the API server
442446<td colspan =" 2 " >--profile string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"none"</td >
443447</tr >
444448<tr >
445- <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 >
446451<!--
447452Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
448453-->
@@ -454,7 +459,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
454459<td colspan =" 2 " >--profile-output string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"profile.pprof"</td >
455460</tr >
456461<tr >
457- <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 >
458464<!--
459465Name of the file to write the profile to
460466-->
@@ -466,7 +472,8 @@ Name of the file to write the profile to
466472<td colspan =" 2 " >--request-timeout string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"0"</td >
467473</tr >
468474<tr >
469- <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 >
470477<!--
471478The 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.
472479-->
@@ -479,7 +486,8 @@ The length of time to wait before giving up on a single server request. Non-zero
479486<td colspan =" 2 " >-s, --server string</td >
480487</tr >
481488<tr >
482- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
489+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
490+ <p >
483491<!--
484492The address and port of the Kubernetes API server
485493-->
@@ -491,7 +499,8 @@ Kubernetes API 服务器的地址和端口。
491499<td colspan =" 2 " >--storage-driver-buffer-duration duration  ;  ;  ;  ;  ; <!-- Default:--> 默认值:1m0s</td >
492500</tr >
493501<tr >
494- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
502+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
503+ <p >
495504<!--
496505Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
497506-->
@@ -503,7 +512,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
503512<td colspan =" 2 " >--storage-driver-db string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"cadvisor"</td >
504513</tr >
505514<tr >
506- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
515+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
516+ <p >
507517<!--
508518database name
509519-->
@@ -515,7 +525,8 @@ database name
515525<td colspan =" 2 " >--storage-driver-host string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"localhost:8086"</td >
516526</tr >
517527<tr >
518- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
528+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
529+ <p >
519530<!--
520531database host:port
521532-->
@@ -527,7 +538,8 @@ database host:port
527538<td colspan =" 2 " >--storage-driver-password string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"root"</td >
528539</tr >
529540<tr >
530- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
541+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
542+ <p >
531543<!--
532544database password
533545-->
@@ -539,7 +551,8 @@ database password
539551<td colspan =" 2 " >--storage-driver-secure</td >
540552</tr >
541553<tr >
542- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
554+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
555+ <p >
543556<!--
544557use secure connection with database
545558-->
0 commit comments