Skip to content

Commit a913402

Browse files
authored
Merge pull request #52387 from my-git9/npa-29799
[zh-cn]sync kubectl_create_job.md
2 parents 41046d9 + f86b3fe commit a913402

File tree

1 file changed

+58
-46
lines changed

1 file changed

+58
-46
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_create/kubectl_create_job.md

Lines changed: 58 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ Name of the manager used to track field ownership.
101101
<td colspan="2">--from string</td>
102102
</tr>
103103
<tr>
104-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
104+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
105+
<p>
105106
<!--
106107
The name of the resource to create a Job from (only cronjob is supported).
107108
-->
@@ -113,7 +114,8 @@ The name of the resource to create a Job from (only cronjob is supported).
113114
<td colspan="2">-h, --help</td>
114115
</tr>
115116
<tr>
116-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
117+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
118+
<p>
117119
<!--
118120
help for job
119121
-->
@@ -125,7 +127,8 @@ job 操作的帮助命令。
125127
<td colspan="2">--image string</td>
126128
</tr>
127129
<tr>
128-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
130+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
131+
<p>
129132
<!--
130133
Image name to run.
131134
-->
@@ -137,7 +140,8 @@ Image name to run.
137140
<td colspan="2">-o, --output string</td>
138141
</tr>
139142
<tr>
140-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
143+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
144+
<p>
141145
<!--
142146
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
143147
-->
@@ -150,7 +154,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
150154
<td colspan="2">--save-config</td>
151155
</tr>
152156
<tr>
153-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
157+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
158+
<p>
154159
<!--
155160
If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.
156161
-->
@@ -163,7 +168,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
163168
<td colspan="2">--show-managed-fields</td>
164169
</tr>
165170
<tr>
166-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
171+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
172+
<p>
167173
<!--
168174
If true, keep the managedFields when printing objects in JSON or YAML format.
169175
-->
@@ -175,7 +181,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
175181
<td colspan="2">--template string</td>
176182
</tr>
177183
<tr>
178-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
184+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
185+
<p>
179186
<!--
180187
Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
181188
-->
@@ -188,7 +195,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
188195
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
189196
</tr>
190197
<tr>
191-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
198+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
199+
<p>
192200
<!--
193201
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise. &quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
194202
-->
@@ -207,7 +215,7 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
207215

208216
## {{% heading "parentoptions" %}}
209217

210-
<table style="width: 100%; table-layout: fixed;">
218+
<table style="width: 100%; table-layout: fixed;">
211219
<colgroup>
212220
<col span="1" style="width: 10px;" />
213221
<col span="1" />
@@ -218,7 +226,8 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
218226
<td colspan="2">--as string</td>
219227
</tr>
220228
<tr>
221-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
229+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
230+
<p>
222231
<!--
223232
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
224233
-->
@@ -230,7 +239,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
230239
<td colspan="2">--as-group strings</td>
231240
</tr>
232241
<tr>
233-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
242+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
243+
<p>
234244
<!--
235245
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
236246
-->
@@ -242,7 +252,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
242252
<td colspan="2">--as-uid string</td>
243253
</tr>
244254
<tr>
245-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
255+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
256+
<p>
246257
<!--
247258
UID to impersonate for the operation.
248259
-->
@@ -254,7 +265,8 @@ UID to impersonate for the operation.
254265
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
255266
</tr>
256267
<tr>
257-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
268+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
269+
<p>
258270
<!--
259271
Default cache directory
260272
-->
@@ -266,7 +278,8 @@ Default cache directory
266278
<td colspan="2">--certificate-authority string</td>
267279
</tr>
268280
<tr>
269-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
281+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
282+
<p>
270283
<!--
271284
Path to a cert file for the certificate authority
272285
-->
@@ -278,7 +291,8 @@ Path to a cert file for the certificate authority
278291
<td colspan="2">--client-certificate string</td>
279292
</tr>
280293
<tr>
281-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
294+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
295+
<p>
282296
<!--
283297
Path to a client certificate file for TLS
284298
-->
@@ -290,7 +304,8 @@ TLS 客户端证书文件的路径。
290304
<td colspan="2">--client-key string</td>
291305
</tr>
292306
<tr>
293-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
307+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
308+
<p>
294309
<!--
295310
Path to a client key file for TLS
296311
-->
@@ -302,7 +317,8 @@ TLS 客户端密钥文件的路径。
302317
<td colspan="2">--cluster string</td>
303318
</tr>
304319
<tr>
305-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
320+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
321+
<p>
306322
<!--
307323
The name of the kubeconfig cluster to use
308324
-->
@@ -314,43 +330,21 @@ The name of the kubeconfig cluster to use
314330
<td colspan="2">--context string</td>
315331
</tr>
316332
<tr>
317-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
333+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
334+
<p>
318335
<!--
319336
The name of the kubeconfig context to use
320337
-->
321338
要使用的 kubeconfig 上下文的名称。
322339
</p></td>
323340
</tr>
324341

325-
<tr>
326-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
327-
</tr>
328-
<tr>
329-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
330-
<!--
331-
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.
332-
-->
333-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
334-
</p></td>
335-
</tr>
336-
337-
<tr>
338-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
339-
</tr>
340-
<tr>
341-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
342-
<!--
343-
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.
344-
-->
345-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
346-
</p></td>
347-
</tr>
348-
349342
<tr>
350343
<td colspan="2">--disable-compression</td>
351344
</tr>
352345
<tr>
353-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
346+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
347+
<p>
354348
<!--
355349
If true, opt-out of response compression for all requests to the server
356350
-->
@@ -362,7 +356,8 @@ If true, opt-out of response compression for all requests to the server
362356
<td colspan="2">--insecure-skip-tls-verify</td>
363357
</tr>
364358
<tr>
365-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
359+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
360+
<p>
366361
<!--
367362
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
368363
-->
@@ -374,19 +369,36 @@ If true, the server's certificate will not be checked for validity. This will ma
374369
<td colspan="2">--kubeconfig string</td>
375370
</tr>
376371
<tr>
377-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
372+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
373+
<p>
378374
<!--
379375
Path to the kubeconfig file to use for CLI requests.
380376
-->
381377
CLI 请求要使用的 kubeconfig 文件的路径。
382378
</p></td>
383379
</tr>
384380

381+
<tr>
382+
<td colspan="2">--kuberc string</td>
383+
</tr>
384+
<tr>
385+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
386+
<p>
387+
<!--
388+
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.
389+
-->
390+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
391+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
392+
</p>
393+
</td>
394+
</tr>
395+
385396
<tr>
386397
<td colspan="2">--match-server-version</td>
387398
</tr>
388399
<tr>
389-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
400+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
401+
<p>
390402
<!--
391403
Require server version to match client version
392404
-->

0 commit comments

Comments
 (0)