Skip to content

Commit 32803e1

Browse files
committed
[zh-cn] sync kubectl_run/_index.md
Signed-off-by: xin.li <xin.li@daocloud.io>
1 parent 9ba1eba commit 32803e1

File tree

1 file changed

+102
-24
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_run

1 file changed

+102
-24
lines changed

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

+102-24
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,20 @@ If true, wait for the Pod to start running, and then attach to the Pod as if 'ku
115115
</p></td>
116116
</tr>
117117

118+
<tr>
119+
<td colspan="2">--cascade string[="background"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"background"</td>
120+
</tr>
121+
<tr>
122+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
123+
<!--
124+
Must be &quot;background&quot;, &quot;orphan&quot;, or &quot;foreground&quot;. Selects the deletion cascading strategy for the dependents (e.g. Pods created by a ReplicationController). Defaults to background.
125+
-->
126+
必须是 "background"、"orphan" 或 "foreground"。
127+
选择依赖项(例如,由 ReplicationController 创建的 Pod)的删除级联策略,
128+
默认为 background。
129+
</p></td>
130+
</tr>
131+
118132
<tr>
119133
<td colspan="2">--command</td>
120134
</tr>
@@ -176,6 +190,46 @@ Name of the manager used to track field ownership.
176190
</p></td>
177191
</tr>
178192

193+
<tr>
194+
<td colspan="2">-f, --filename strings</td>
195+
</tr>
196+
<tr>
197+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
198+
<p>
199+
<!--
200+
to use to replace the resource.
201+
-->
202+
用来替换资源。
203+
</p></td>
204+
</tr>
205+
206+
<tr>
207+
<td colspan="2">--force</td>
208+
</tr>
209+
<tr>
210+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
211+
<!--
212+
If true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.
213+
-->
214+
如果为真,则立即从 API 中移除资源并略过体面删除处理。
215+
请注意,立即删除某些资源可能会导致不一致或数据丢失,并且需要确认操作。
216+
</p></td>
217+
</tr>
218+
219+
<tr>
220+
<td colspan="2">--grace-period int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:-1</td>
221+
</tr>
222+
<tr>
223+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
224+
<!--
225+
Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).
226+
-->
227+
指定给资源的体面终止时间(以秒为单位)。
228+
如果为负数则忽略,为 1 表示立即关闭。
229+
仅当 --force 为真(强制删除)时才可以设置为 0。
230+
</p></td>
231+
</tr>
232+
179233
<tr>
180234
<td colspan="2">-h, --help</td>
181235
</tr>
@@ -212,6 +266,18 @@ The image pull policy for the container. If left empty, this value will not be
212266
</p></td>
213267
</tr>
214268

269+
<tr>
270+
<td colspan="2">-k, --kustomize string</td>
271+
</tr>
272+
<tr>
273+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
274+
<!--
275+
Process a kustomization directory. This flag can't be used together with -f or -R.
276+
-->
277+
处理 kustomization 目录,此标志不能与 -f 或 -R 一起使用。
278+
</p></td>
279+
</tr>
280+
215281
<tr>
216282
<td colspan="2">-l, --labels string</td>
217283
</tr>
@@ -323,6 +389,18 @@ If true, suppress prompt messages.
323389
</p></td>
324390
</tr>
325391

392+
<tr>
393+
<td colspan="2">-R, --recursive</td>
394+
</tr>
395+
<tr>
396+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
397+
<!--
398+
Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
399+
-->
400+
以递归方式处理在 -f、--filename 中给出的目录。当你想要管理位于同一目录中的相关清单时很有用。
401+
</p></td>
402+
</tr>
403+
326404
<tr>
327405
<td colspan="2">--restart string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"Always"</td>
328406
</tr>
@@ -397,6 +475,18 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
397475
</p></td>
398476
</tr>
399477

478+
<tr>
479+
<td colspan="2">--timeout duration</td>
480+
</tr>
481+
<tr>
482+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
483+
<!--
484+
The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
485+
-->
486+
放弃删除之前等待的时长;标志值为 0 表示根据对象的大小确定超时。
487+
</p></td>
488+
</tr>
489+
400490
<tr>
401491
<td colspan="2">-t, --tty</td>
402492
</tr>
@@ -409,6 +499,18 @@ Allocate a TTY for the container in the pod.
409499
</p></td>
410500
</tr>
411501

502+
<tr>
503+
<td colspan="2">--wait&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:true</td>
504+
</tr>
505+
<tr>
506+
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
507+
<!--
508+
If true, wait for resources to be gone before returning. This waits for finalizers.
509+
-->
510+
如果为 true,则等待资源消失后再返回。此参数会等待终结器被清空。
511+
</p></td>
512+
</tr>
513+
412514
</tbody>
413515
</table>
414516

@@ -505,30 +607,6 @@ TLS 客户端密钥文件的路径。
505607
</p></td>
506608
</tr>
507609

508-
<tr>
509-
<td colspan="2">--cloud-provider-gce-l7lb-src-cidrs cidrs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:130.211.0.0/22,35.191.0.0/16</td>
510-
</tr>
511-
<tr>
512-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
513-
<!--
514-
CIDRs opened in GCE firewall for L7 LB traffic proxy &amp; health checks
515-
-->
516-
GCE 防火墙中为 L7 负载均衡流量代理和健康检查开放的 CIDR。
517-
</p></td>
518-
</tr>
519-
520-
<tr>
521-
<td colspan="2">--cloud-provider-gce-lb-src-cidrs cidrs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16</td>
522-
</tr>
523-
<tr>
524-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
525-
<!--
526-
CIDRs opened in GCE firewall for L4 LB traffic proxy &amp; health checks
527-
-->
528-
GCE 防火墙中为 L4 负载均衡流量代理和健康检查开放的 CIDR。
529-
</p></td>
530-
</tr>
531-
532610
<tr>
533611
<td colspan="2">--cluster string</td>
534612
</tr>

0 commit comments

Comments
 (0)