Skip to content

Commit fe61c38

Browse files
committed
[zh-cn]sync kubectl_create_cronjob.md
Signed-off-by: xin.li <[email protected]>
1 parent c75d9b3 commit fe61c38

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_cronjob.md

Lines changed: 58 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ cronjob 操作的帮助命令。
107107
<td colspan="2">--image string</td>
108108
</tr>
109109
<tr>
110-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
110+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
111+
<p>
111112
<!--
112113
Image name to run.
113114
-->
@@ -119,7 +120,8 @@ Image name to run.
119120
<td colspan="2">-o, --output string</td>
120121
</tr>
121122
<tr>
122-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
123+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
124+
<p>
123125
<!--
124126
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
125127
-->
@@ -132,7 +134,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
132134
<td colspan="2">--restart string</td>
133135
</tr>
134136
<tr>
135-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
137+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
138+
<p>
136139
<!--
137140
job's restart policy. supported values: OnFailure, Never
138141
-->
@@ -144,7 +147,8 @@ Job 的重启策略。支持的值:OnFailure、Never
144147
<td colspan="2">--save-config</td>
145148
</tr>
146149
<tr>
147-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
150+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
151+
<p>
148152
<!--
149153
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.
150154
-->
@@ -157,7 +161,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
157161
<td colspan="2">--schedule string</td>
158162
</tr>
159163
<tr>
160-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
164+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
165+
<p>
161166
<!--
162167
A schedule in the Cron format the job should be run with.
163168
-->
@@ -169,7 +174,8 @@ Job 运行应使用的 Cron 格式的排期表。
169174
<td colspan="2">--show-managed-fields</td>
170175
</tr>
171176
<tr>
172-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
177+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
178+
<p>
173179
<!--
174180
If true, keep the managedFields when printing objects in JSON or YAML format.
175181
-->
@@ -181,7 +187,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
181187
<td colspan="2">--template string</td>
182188
</tr>
183189
<tr>
184-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
190+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
191+
<p>
185192
<!--
186193
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].
187194
-->
@@ -194,7 +201,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
194201
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
195202
</tr>
196203
<tr>
197-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
204+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
205+
<p>
198206
<!--
199207
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.
200208
-->
@@ -213,7 +221,7 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
213221

214222
## {{% heading "parentoptions" %}}
215223

216-
<table style="width: 100%; table-layout: fixed;">
224+
<table style="width: 100%; table-layout: fixed;">
217225
<colgroup>
218226
<col span="1" style="width: 10px;" />
219227
<col span="1" />
@@ -224,7 +232,8 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
224232
<td colspan="2">--as string</td>
225233
</tr>
226234
<tr>
227-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
235+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
236+
<p>
228237
<!--
229238
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
230239
-->
@@ -236,7 +245,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
236245
<td colspan="2">--as-group strings</td>
237246
</tr>
238247
<tr>
239-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
248+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
249+
<p>
240250
<!--
241251
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
242252
-->
@@ -248,7 +258,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
248258
<td colspan="2">--as-uid string</td>
249259
</tr>
250260
<tr>
251-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
261+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
262+
<p>
252263
<!--
253264
UID to impersonate for the operation.
254265
-->
@@ -260,7 +271,8 @@ UID to impersonate for the operation.
260271
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
261272
</tr>
262273
<tr>
263-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
274+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
275+
<p>
264276
<!--
265277
Default cache directory
266278
-->
@@ -272,7 +284,8 @@ Default cache directory
272284
<td colspan="2">--certificate-authority string</td>
273285
</tr>
274286
<tr>
275-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
287+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
288+
<p>
276289
<!--
277290
Path to a cert file for the certificate authority
278291
-->
@@ -284,7 +297,8 @@ Path to a cert file for the certificate authority
284297
<td colspan="2">--client-certificate string</td>
285298
</tr>
286299
<tr>
287-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
300+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
301+
<p>
288302
<!--
289303
Path to a client certificate file for TLS
290304
-->
@@ -296,7 +310,8 @@ TLS 客户端证书文件的路径。
296310
<td colspan="2">--client-key string</td>
297311
</tr>
298312
<tr>
299-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
313+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
314+
<p>
300315
<!--
301316
Path to a client key file for TLS
302317
-->
@@ -308,7 +323,8 @@ TLS 客户端密钥文件的路径。
308323
<td colspan="2">--cluster string</td>
309324
</tr>
310325
<tr>
311-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
326+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
327+
<p>
312328
<!--
313329
The name of the kubeconfig cluster to use
314330
-->
@@ -320,43 +336,21 @@ The name of the kubeconfig cluster to use
320336
<td colspan="2">--context string</td>
321337
</tr>
322338
<tr>
323-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
339+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
340+
<p>
324341
<!--
325342
The name of the kubeconfig context to use
326343
-->
327344
要使用的 kubeconfig 上下文的名称。
328345
</p></td>
329346
</tr>
330347

331-
<tr>
332-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
333-
</tr>
334-
<tr>
335-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
336-
<!--
337-
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.
338-
-->
339-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
340-
</p></td>
341-
</tr>
342-
343-
<tr>
344-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
345-
</tr>
346-
<tr>
347-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
348-
<!--
349-
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.
350-
-->
351-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
352-
</p></td>
353-
</tr>
354-
355348
<tr>
356349
<td colspan="2">--disable-compression</td>
357350
</tr>
358351
<tr>
359-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
352+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
353+
<p>
360354
<!--
361355
If true, opt-out of response compression for all requests to the server
362356
-->
@@ -368,7 +362,8 @@ If true, opt-out of response compression for all requests to the server
368362
<td colspan="2">--insecure-skip-tls-verify</td>
369363
</tr>
370364
<tr>
371-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
365+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
366+
<p>
372367
<!--
373368
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
374369
-->
@@ -380,19 +375,36 @@ If true, the server's certificate will not be checked for validity. This will ma
380375
<td colspan="2">--kubeconfig string</td>
381376
</tr>
382377
<tr>
383-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
378+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
379+
<p>
384380
<!--
385381
Path to the kubeconfig file to use for CLI requests.
386382
-->
387383
CLI 请求要使用的 kubeconfig 文件的路径。
388384
</p></td>
389385
</tr>
390386

387+
<tr>
388+
<td colspan="2">--kuberc string</td>
389+
</tr>
390+
<tr>
391+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
392+
<p>
393+
<!--
394+
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.
395+
-->
396+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
397+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
398+
</p>
399+
</td>
400+
</tr>
401+
391402
<tr>
392403
<td colspan="2">--match-server-version</td>
393404
</tr>
394405
<tr>
395-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
406+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
407+
<p>
396408
<!--
397409
Require server version to match client version
398410
-->

0 commit comments

Comments
 (0)