From 32803e178ee3c3c5926b8906660fd624d78ff444 Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Mon, 19 Aug 2024 21:43:24 +0800
Subject: [PATCH] [zh-cn] sync kubectl_run/_index.md
Signed-off-by: xin.li
---
.../kubectl/generated/kubectl_run/_index.md | 126 ++++++++++++++----
1 file changed, 102 insertions(+), 24 deletions(-)
diff --git a/content/zh-cn/docs/reference/kubectl/generated/kubectl_run/_index.md b/content/zh-cn/docs/reference/kubectl/generated/kubectl_run/_index.md
index a4b51cdbb7..ec856b811e 100644
--- a/content/zh-cn/docs/reference/kubectl/generated/kubectl_run/_index.md
+++ b/content/zh-cn/docs/reference/kubectl/generated/kubectl_run/_index.md
@@ -115,6 +115,20 @@ If true, wait for the Pod to start running, and then attach to the Pod as if 'ku
+
+--cascade string[="background"] 默认值:"background" |
+
+
+ |
+
+必须是 "background"、"orphan" 或 "foreground"。
+选择依赖项(例如,由 ReplicationController 创建的 Pod)的删除级联策略,
+默认为 background。
+ |
+
+
--command |
@@ -176,6 +190,46 @@ Name of the manager used to track field ownership.
+
+-f, --filename strings |
+
+
+ |
+
+
+用来替换资源。
+ |
+
+
+
+--force |
+
+
+ |
+
+如果为真,则立即从 API 中移除资源并略过体面删除处理。
+请注意,立即删除某些资源可能会导致不一致或数据丢失,并且需要确认操作。
+ |
+
+
+
+--grace-period int 默认值:-1 |
+
+
+ |
+
+指定给资源的体面终止时间(以秒为单位)。
+如果为负数则忽略,为 1 表示立即关闭。
+仅当 --force 为真(强制删除)时才可以设置为 0。
+ |
+
+
-h, --help |
@@ -212,6 +266,18 @@ The image pull policy for the container. If left empty, this value will not be
+
+-k, --kustomize string |
+
+
+ |
+
+处理 kustomization 目录,此标志不能与 -f 或 -R 一起使用。
+ |
+
+
-l, --labels string |
@@ -323,6 +389,18 @@ If true, suppress prompt messages.
+
+-R, --recursive |
+
+
+ |
+
+以递归方式处理在 -f、--filename 中给出的目录。当你想要管理位于同一目录中的相关清单时很有用。
+ |
+
+
--restart string 默认值:"Always" |
@@ -397,6 +475,18 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
+
+--timeout duration |
+
+
+ |
+
+放弃删除之前等待的时长;标志值为 0 表示根据对象的大小确定超时。
+ |
+
+
-t, --tty |
@@ -409,6 +499,18 @@ Allocate a TTY for the container in the pod.
+
+--wait 默认值:true |
+
+
+ |
+
+如果为 true,则等待资源消失后再返回。此参数会等待终结器被清空。
+ |
+
+
@@ -505,30 +607,6 @@ TLS 客户端密钥文件的路径。
-
---cloud-provider-gce-l7lb-src-cidrs cidrs 默认值:130.211.0.0/22,35.191.0.0/16 |
-
-
- |
-
-GCE 防火墙中为 L7 负载均衡流量代理和健康检查开放的 CIDR。
- |
-
-
-
---cloud-provider-gce-lb-src-cidrs cidrs 默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 |
-
-
- |
-
-GCE 防火墙中为 L4 负载均衡流量代理和健康检查开放的 CIDR。
- |
-
-
--cluster string |