Skip to content

Commit 67a89a1

Browse files
committed
[zh-cn]sync kubectl_create/_index.md
Signed-off-by: xin.li <xin.li@daocloud.io>
1 parent 240476f commit 67a89a1

File tree

1 file changed

+61
-47
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_create

1 file changed

+61
-47
lines changed

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

Lines changed: 61 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ create 操作的帮助命令。
143143
<td colspan="2">-k, --kustomize string</td>
144144
</tr>
145145
<tr>
146-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
146+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
147+
<p>
147148
<!--
148149
Process the kustomization directory. This flag can't be used together with -f or -R.
149150
-->
@@ -155,7 +156,8 @@ Process the kustomization directory. This flag can't be used together with -f or
155156
<td colspan="2">-o, --output string</td>
156157
</tr>
157158
<tr>
158-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
159+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
160+
<p>
159161
<!--
160162
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
161163
-->
@@ -168,7 +170,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
168170
<td colspan="2">--raw string</td>
169171
</tr>
170172
<tr>
171-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
173+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
174+
<p>
172175
<!--
173176
Raw URI to POST to the server. Uses the transport specified by the kubeconfig file.
174177
-->
@@ -180,7 +183,8 @@ Raw URI to POST to the server. Uses the transport specified by the kubeconfig f
180183
<td colspan="2">-R, --recursive</td>
181184
</tr>
182185
<tr>
183-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
186+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
187+
<p>
184188
<!--
185189
Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
186190
-->
@@ -192,7 +196,8 @@ Process the directory used in -f, --filename recursively. Useful when you want t
192196
<td colspan="2">--save-config</td>
193197
</tr>
194198
<tr>
195-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
199+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
200+
<p>
196201
<!--
197202
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.
198203
-->
@@ -205,7 +210,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
205210
<td colspan="2">-l, --selector string</td>
206211
</tr>
207212
<tr>
208-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
213+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
214+
<p>
209215
<!--
210216
Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.
211217
-->
@@ -219,7 +225,8 @@ Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.
219225
<td colspan="2">--show-managed-fields</td>
220226
</tr>
221227
<tr>
222-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
228+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
229+
<p>
223230
<!--
224231
If true, keep the managedFields when printing objects in JSON or YAML format.
225232
-->
@@ -231,7 +238,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
231238
<td colspan="2">--template string</td>
232239
</tr>
233240
<tr>
234-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
241+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
242+
<p>
235243
<!--
236244
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].
237245
-->
@@ -244,7 +252,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
244252
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
245253
</tr>
246254
<tr>
247-
<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>
248257
<!--
249258
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.
250259
-->
@@ -262,7 +271,8 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
262271
<td colspan="2">--windows-line-endings</td>
263272
</tr>
264273
<tr>
265-
<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>
266276
<!--
267277
Only relevant if --edit=true. Defaults to the line ending native to your platform.
268278
-->
@@ -286,7 +296,8 @@ Only relevant if --edit=true. Defaults to the line ending native to your platfor
286296
<td colspan="2">--as string</td>
287297
</tr>
288298
<tr>
289-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
299+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
300+
<p>
290301
<!--
291302
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
292303
-->
@@ -298,7 +309,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
298309
<td colspan="2">--as-group strings</td>
299310
</tr>
300311
<tr>
301-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
312+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
313+
<p>
302314
<!--
303315
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
304316
-->
@@ -310,7 +322,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
310322
<td colspan="2">--as-uid string</td>
311323
</tr>
312324
<tr>
313-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
325+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
326+
<p>
314327
<!--
315328
UID to impersonate for the operation.
316329
-->
@@ -322,7 +335,8 @@ UID to impersonate for the operation.
322335
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
323336
</tr>
324337
<tr>
325-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
338+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
339+
<p>
326340
<!--
327341
Default cache directory
328342
-->
@@ -334,7 +348,8 @@ Default cache directory
334348
<td colspan="2">--certificate-authority string</td>
335349
</tr>
336350
<tr>
337-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
351+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
352+
<p>
338353
<!--
339354
Path to a cert file for the certificate authority
340355
-->
@@ -346,7 +361,8 @@ Path to a cert file for the certificate authority
346361
<td colspan="2">--client-certificate string</td>
347362
</tr>
348363
<tr>
349-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
364+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
365+
<p>
350366
<!--
351367
Path to a client certificate file for TLS
352368
-->
@@ -358,7 +374,8 @@ TLS 客户端证书文件的路径。
358374
<td colspan="2">--client-key string</td>
359375
</tr>
360376
<tr>
361-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
377+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
378+
<p>
362379
<!--
363380
Path to a client key file for TLS
364381
-->
@@ -370,7 +387,8 @@ TLS 客户端密钥文件的路径。
370387
<td colspan="2">--cluster string</td>
371388
</tr>
372389
<tr>
373-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
390+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
391+
<p>
374392
<!--
375393
The name of the kubeconfig cluster to use
376394
-->
@@ -382,43 +400,21 @@ The name of the kubeconfig cluster to use
382400
<td colspan="2">--context string</td>
383401
</tr>
384402
<tr>
385-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
403+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
404+
<p>
386405
<!--
387406
The name of the kubeconfig context to use
388407
-->
389408
要使用的 kubeconfig 上下文的名称。
390409
</p></td>
391410
</tr>
392411

393-
<tr>
394-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
395-
</tr>
396-
<tr>
397-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
398-
<!--
399-
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.
400-
-->
401-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
402-
</p></td>
403-
</tr>
404-
405-
<tr>
406-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
407-
</tr>
408-
<tr>
409-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
410-
<!--
411-
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.
412-
-->
413-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
414-
</p></td>
415-
</tr>
416-
417412
<tr>
418413
<td colspan="2">--disable-compression</td>
419414
</tr>
420415
<tr>
421-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
416+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
417+
<p>
422418
<!--
423419
If true, opt-out of response compression for all requests to the server
424420
-->
@@ -430,7 +426,8 @@ If true, opt-out of response compression for all requests to the server
430426
<td colspan="2">--insecure-skip-tls-verify</td>
431427
</tr>
432428
<tr>
433-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
429+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
430+
<p>
434431
<!--
435432
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
436433
-->
@@ -442,19 +439,36 @@ If true, the server's certificate will not be checked for validity. This will ma
442439
<td colspan="2">--kubeconfig string</td>
443440
</tr>
444441
<tr>
445-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
442+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
443+
<p>
446444
<!--
447445
Path to the kubeconfig file to use for CLI requests.
448446
-->
449447
CLI 请求要使用的 kubeconfig 文件的路径。
450448
</p></td>
451449
</tr>
452450

451+
<tr>
452+
<td colspan="2">--kuberc string</td>
453+
</tr>
454+
<tr>
455+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
456+
<p>
457+
<!--
458+
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.
459+
-->
460+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
461+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
462+
</p>
463+
</td>
464+
</tr>
465+
453466
<tr>
454467
<td colspan="2">--match-server-version</td>
455468
</tr>
456469
<tr>
457-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
470+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
471+
<p>
458472
<!--
459473
Require server version to match client version
460474
-->

0 commit comments

Comments
 (0)