Skip to content

Commit 95e8119

Browse files
authored
Merge pull request #52567 from windsonsea/undoyh
[zh] Sync kubectl_rollout_undo.md
2 parents f13d1a6 + 6c776ba commit 95e8119

File tree

1 file changed

+76
-55
lines changed

1 file changed

+76
-55
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo.md

Lines changed: 76 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ The revision to rollback to. Default to 0 (last revision).
219219
<td colspan="2">--as string</td>
220220
</tr>
221221
<tr>
222-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
222+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
223+
<p>
223224
<!--
224225
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
225226
-->
@@ -231,7 +232,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
231232
<td colspan="2">--as-group strings</td>
232233
</tr>
233234
<tr>
234-
<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>
235237
<!--
236238
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
237239
-->
@@ -243,7 +245,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
243245
<td colspan="2">--as-uid string</td>
244246
</tr>
245247
<tr>
246-
<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>
247250
<!--
248251
UID to impersonate for the operation.
249252
-->
@@ -255,7 +258,8 @@ UID to impersonate for the operation.
255258
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
256259
</tr>
257260
<tr>
258-
<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>
259263
<!--
260264
Default cache directory
261265
-->
@@ -267,7 +271,8 @@ Default cache directory
267271
<td colspan="2">--certificate-authority string</td>
268272
</tr>
269273
<tr>
270-
<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>
271276
<!--
272277
Path to a cert file for the certificate authority
273278
-->
@@ -279,7 +284,8 @@ Path to a cert file for the certificate authority
279284
<td colspan="2">--client-certificate string</td>
280285
</tr>
281286
<tr>
282-
<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>
283289
<!--
284290
Path to a client certificate file for TLS
285291
-->
@@ -291,7 +297,8 @@ TLS 客户端证书文件的路径。
291297
<td colspan="2">--client-key string</td>
292298
</tr>
293299
<tr>
294-
<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>
295302
<!--
296303
Path to a client key file for TLS
297304
-->
@@ -303,7 +310,8 @@ TLS 客户端密钥文件的路径。
303310
<td colspan="2">--cluster string</td>
304311
</tr>
305312
<tr>
306-
<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>
307315
<!--
308316
The name of the kubeconfig cluster to use
309317
-->
@@ -315,43 +323,21 @@ The name of the kubeconfig cluster to use
315323
<td colspan="2">--context string</td>
316324
</tr>
317325
<tr>
318-
<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>
319328
<!--
320329
The name of the kubeconfig context to use
321330
-->
322331
要使用的 kubeconfig 上下文的名称。
323332
</p></td>
324333
</tr>
325334

326-
<tr>
327-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
328-
</tr>
329-
<tr>
330-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
331-
<!--
332-
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.
333-
-->
334-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
335-
</p></td>
336-
</tr>
337-
338-
<tr>
339-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
340-
</tr>
341-
<tr>
342-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
343-
<!--
344-
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.
345-
-->
346-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
347-
</p></td>
348-
</tr>
349-
350335
<tr>
351336
<td colspan="2">--disable-compression</td>
352337
</tr>
353338
<tr>
354-
<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>
355341
<!--
356342
If true, opt-out of response compression for all requests to the server
357343
-->
@@ -363,7 +349,8 @@ If true, opt-out of response compression for all requests to the server
363349
<td colspan="2">--insecure-skip-tls-verify</td>
364350
</tr>
365351
<tr>
366-
<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>
367354
<!--
368355
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
369356
-->
@@ -375,19 +362,35 @@ If true, the server's certificate will not be checked for validity. This will ma
375362
<td colspan="2">--kubeconfig string</td>
376363
</tr>
377364
<tr>
378-
<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>
379367
<!--
380368
Path to the kubeconfig file to use for CLI requests.
381369
-->
382370
CLI 请求要使用的 kubeconfig 文件的路径。
383371
</p></td>
384372
</tr>
385373

374+
<tr>
375+
<td colspan="2">--kuberc string</td>
376+
</tr>
377+
<tr>
378+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
379+
<p>
380+
<!--
381+
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.
382+
-->
383+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
384+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
385+
</p></td>
386+
</tr>
387+
386388
<tr>
387389
<td colspan="2">--match-server-version</td>
388390
</tr>
389391
<tr>
390-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
392+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
393+
<p>
391394
<!--
392395
Require server version to match client version
393396
-->
@@ -399,7 +402,8 @@ Require server version to match client version
399402
<td colspan="2">-n, --namespace string</td>
400403
</tr>
401404
<tr>
402-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
405+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
406+
<p>
403407
<!--
404408
If present, the namespace scope for this CLI request
405409
-->
@@ -411,7 +415,8 @@ If present, the namespace scope for this CLI request
411415
<td colspan="2">--password string</td>
412416
</tr>
413417
<tr>
414-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
418+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
419+
<p>
415420
<!--
416421
Password for basic authentication to the API server
417422
-->
@@ -423,7 +428,8 @@ Password for basic authentication to the API server
423428
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
424429
</tr>
425430
<tr>
426-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
431+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
432+
<p>
427433
<!--
428434
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
429435
-->
@@ -435,7 +441,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
435441
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
436442
</tr>
437443
<tr>
438-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
444+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
445+
<p>
439446
<!--
440447
Name of the file to write the profile to
441448
-->
@@ -447,7 +454,8 @@ Name of the file to write the profile to
447454
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
448455
</tr>
449456
<tr>
450-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
457+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
458+
<p>
451459
<!--
452460
The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.
453461
-->
@@ -460,7 +468,8 @@ The length of time to wait before giving up on a single server request. Non-zero
460468
<td colspan="2">-s, --server string</td>
461469
</tr>
462470
<tr>
463-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
471+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
472+
<p>
464473
<!--
465474
The address and port of the Kubernetes API server
466475
-->
@@ -472,7 +481,8 @@ Kubernetes API 服务器的地址和端口。
472481
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
473482
</tr>
474483
<tr>
475-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
484+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
485+
<p>
476486
<!--
477487
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
478488
-->
@@ -484,7 +494,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
484494
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
485495
</tr>
486496
<tr>
487-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
497+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
498+
<p>
488499
<!--
489500
database name
490501
-->
@@ -496,7 +507,8 @@ database name
496507
<td colspan="2">--storage-driver-host string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "localhost:8086"-->默认值:"localhost:8086"</td>
497508
</tr>
498509
<tr>
499-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
510+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
511+
<p>
500512
<!--
501513
database host:port
502514
-->
@@ -508,7 +520,8 @@ database host:port
508520
<td colspan="2">--storage-driver-password string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "root"-->默认值:"root"</td>
509521
</tr>
510522
<tr>
511-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
523+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
524+
<p>
512525
<!--
513526
database password
514527
-->
@@ -520,7 +533,8 @@ database password
520533
<td colspan="2">--storage-driver-secure</td>
521534
</tr>
522535
<tr>
523-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
536+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
537+
<p>
524538
<!--
525539
use secure connection with database
526540
-->
@@ -532,7 +546,8 @@ use secure connection with database
532546
<td colspan="2">--storage-driver-table string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "stats"-->默认值:"stats"</td>
533547
</tr>
534548
<tr>
535-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
549+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
550+
<p>
536551
<!--
537552
table name
538553
-->
@@ -544,7 +559,8 @@ table name
544559
<td colspan="2">--storage-driver-user string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "root"-->默认值:"root"</td>
545560
</tr>
546561
<tr>
547-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
562+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
563+
<p>
548564
<!--
549565
database username
550566
-->
@@ -570,7 +586,8 @@ Server name to use for server certificate validation. If it is not provided, the
570586
<td colspan="2">--token string</td>
571587
</tr>
572588
<tr>
573-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
589+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
590+
<p>
574591
<!--
575592
Bearer token for authentication to the API server
576593
-->
@@ -582,7 +599,8 @@ Bearer token for authentication to the API server
582599
<td colspan="2">--user string</td>
583600
</tr>
584601
<tr>
585-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
602+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
603+
<p>
586604
<!--
587605
The name of the kubeconfig user to use
588606
-->
@@ -594,7 +612,8 @@ The name of the kubeconfig user to use
594612
<td colspan="2">--username string</td>
595613
</tr>
596614
<tr>
597-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
615+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
616+
<p>
598617
<!--
599618
Username for basic authentication to the API server
600619
-->
@@ -606,7 +625,8 @@ Username for basic authentication to the API server
606625
<td colspan="2">--version version[=true]</td>
607626
</tr>
608627
<tr>
609-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
628+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
629+
<p>
610630
<!--
611631
--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version
612632
-->
@@ -618,7 +638,8 @@ Username for basic authentication to the API server
618638
<td colspan="2">--warnings-as-errors</td>
619639
</tr>
620640
<tr>
621-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
641+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
642+
<p>
622643
<!--
623644
Treat warnings received from the server as errors and exit with a non-zero exit code
624645
-->

0 commit comments

Comments
 (0)