Skip to content

Commit a664b7a

Browse files
committed
[zh-cn]sync kubectl_uncordon
Signed-off-by: xin.li <[email protected]>
1 parent 1194953 commit a664b7a

File tree

1 file changed

+53
-48
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_uncordon

1 file changed

+53
-48
lines changed

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

Lines changed: 53 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.
9696

9797
## {{% heading "parentoptions" %}}
9898

99-
<table style="width: 100%; table-layout: fixed;">
99+
<table style="width: 100%; table-layout: fixed;">
100100
<colgroup>
101101
<col span="1" style="width: 10px;" />
102102
<col span="1" />
@@ -146,7 +146,7 @@ UID to impersonate for the operation.
146146
</tr>
147147

148148
<tr>
149-
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "$HOME/.kube/cache"</td>
149+
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
150150
</tr>
151151
<tr>
152152
<td></td><td style="line-height: 130%; word-wrap: break-word;">
@@ -230,71 +230,59 @@ The name of the kubeconfig context to use
230230
</tr>
231231

232232
<tr>
233-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
234-
</tr>
235-
<tr>
236-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
237-
<p>
238-
<!--
239-
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.
240-
-->
241-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
242-
</p>
243-
</td>
244-
</tr>
245-
246-
<tr>
247-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
233+
<td colspan="2">--disable-compression</td>
248234
</tr>
249235
<tr>
250236
<td></td><td style="line-height: 130%; word-wrap: break-word;">
251237
<p>
252238
<!--
253-
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.
239+
If true, opt-out of response compression for all requests to the server
254240
-->
255-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod
241+
如果为 true,则对服务器所有请求的响应不再压缩
256242
</p>
257243
</td>
258244
</tr>
259245

260246
<tr>
261-
<td colspan="2">--disable-compression</td>
247+
<td colspan="2">--insecure-skip-tls-verify</td>
262248
</tr>
263249
<tr>
264250
<td></td><td style="line-height: 130%; word-wrap: break-word;">
265251
<p>
266252
<!--
267-
If true, opt-out of response compression for all requests to the server
253+
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
268254
-->
269-
如果为 true,则对服务器所有请求的响应不再压缩
255+
如果为 true,则不检查服务器证书的有效性。这将使你的 HTTPS 连接不安全
270256
</p>
271257
</td>
272258
</tr>
273259

274260
<tr>
275-
<td colspan="2">--insecure-skip-tls-verify</td>
261+
<td colspan="2">--kubeconfig string</td>
276262
</tr>
277263
<tr>
278264
<td></td><td style="line-height: 130%; word-wrap: break-word;">
279265
<p>
280266
<!--
281-
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
267+
Path to the kubeconfig file to use for CLI requests.
282268
-->
283-
如果为 true,则不检查服务器证书的有效性。这将使你的 HTTPS 连接不安全
269+
CLI 请求要使用的 kubeconfig 文件的路径
284270
</p>
285271
</td>
286272
</tr>
287273

288274
<tr>
289-
<td colspan="2">--kubeconfig string</td>
275+
<td colspan="2">--kuberc string</td>
290276
</tr>
291277
<tr>
292-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
278+
<td></td>
279+
<td style="line-height: 130%; word-wrap: break-word;">
293280
<p>
294281
<!--
295-
Path to the kubeconfig file to use for CLI requests.
282+
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.
296283
-->
297-
CLI 请求要使用的 kubeconfig 文件的路径。
284+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
285+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
298286
</p>
299287
</td>
300288
</tr>
@@ -303,7 +291,8 @@ CLI 请求要使用的 kubeconfig 文件的路径。
303291
<td colspan="2">--match-server-version</td>
304292
</tr>
305293
<tr>
306-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
294+
<td></td>
295+
<td style="line-height: 130%; word-wrap: break-word;">
307296
<p>
308297
<!--
309298
Require server version to match client version
@@ -331,7 +320,8 @@ If present, the namespace scope for this CLI request
331320
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
332321
</tr>
333322
<tr>
334-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
323+
<td></td>
324+
<td style="line-height: 130%; word-wrap: break-word;">
335325
<p>
336326
<!--
337327
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
@@ -345,7 +335,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
345335
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
346336
</tr>
347337
<tr>
348-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
338+
<td></td>
339+
<td style="line-height: 130%; word-wrap: break-word;">
349340
<p>
350341
<!--
351342
Name of the file to write the profile to
@@ -359,7 +350,8 @@ Name of the file to write the profile to
359350
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
360351
</tr>
361352
<tr>
362-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
353+
<td></td>
354+
<td style="line-height: 130%; word-wrap: break-word;">
363355
<p>
364356
<!--
365357
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.
@@ -374,7 +366,8 @@ The length of time to wait before giving up on a single server request. Non-zero
374366
<td colspan="2">-s, --server string</td>
375367
</tr>
376368
<tr>
377-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
369+
<td></td>
370+
<td style="line-height: 130%; word-wrap: break-word;">
378371
<p>
379372
<!--
380373
The address and port of the Kubernetes API server
@@ -388,7 +381,8 @@ Kubernetes API 服务器的地址和端口。
388381
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
389382
</tr>
390383
<tr>
391-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
384+
<td></td>
385+
<td style="line-height: 130%; word-wrap: break-word;">
392386
<p>
393387
<!--
394388
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
@@ -402,7 +396,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
402396
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
403397
</tr>
404398
<tr>
405-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
399+
<td></td>
400+
<td style="line-height: 130%; word-wrap: break-word;">
406401
<p>
407402
<!--
408403
database name
@@ -416,7 +411,8 @@ database name
416411
<td colspan="2">--storage-driver-host string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "localhost:8086"-->默认值:"localhost:8086"</td>
417412
</tr>
418413
<tr>
419-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
414+
<td></td>
415+
<td style="line-height: 130%; word-wrap: break-word;">
420416
<p>
421417
<!--
422418
database host:port
@@ -430,7 +426,8 @@ database host:port
430426
<td colspan="2">--storage-driver-password string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "root"-->默认值:"root"</td>
431427
</tr>
432428
<tr>
433-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
429+
<td></td>
430+
<td style="line-height: 130%; word-wrap: break-word;">
434431
<p>
435432
<!--
436433
database password
@@ -444,7 +441,8 @@ database password
444441
<td colspan="2">--storage-driver-secure</td>
445442
</tr>
446443
<tr>
447-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
444+
<td></td>
445+
<td style="line-height: 130%; word-wrap: break-word;">
448446
<p>
449447
<!--
450448
use secure connection with database
@@ -458,7 +456,8 @@ use secure connection with database
458456
<td colspan="2">--storage-driver-table string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "stats"-->默认值:"stats"</td>
459457
</tr>
460458
<tr>
461-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
459+
<td></td>
460+
<td style="line-height: 130%; word-wrap: break-word;">
462461
<p>
463462
<!--
464463
table name
@@ -472,7 +471,8 @@ table name
472471
<td colspan="2">--storage-driver-user string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "root"-->默认值:"root"</td>
473472
</tr>
474473
<tr>
475-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
474+
<td></td>
475+
<td style="line-height: 130%; word-wrap: break-word;">
476476
<p>
477477
<!--
478478
database username
@@ -486,7 +486,8 @@ database username
486486
<td colspan="2">--tls-server-name string</td>
487487
</tr>
488488
<tr>
489-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
489+
<td></td>
490+
<td style="line-height: 130%; word-wrap: break-word;">
490491
<p>
491492
<!--
492493
Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used
@@ -500,7 +501,8 @@ Server name to use for server certificate validation. If it is not provided, the
500501
<td colspan="2">--token string</td>
501502
</tr>
502503
<tr>
503-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
504+
<td></td>
505+
<td style="line-height: 130%; word-wrap: break-word;">
504506
<p>
505507
<!--
506508
Bearer token for authentication to the API server
@@ -514,7 +516,8 @@ Bearer token for authentication to the API server
514516
<td colspan="2">--user string</td>
515517
</tr>
516518
<tr>
517-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
519+
<td></td>
520+
<td style="line-height: 130%; word-wrap: break-word;">
518521
<p>
519522
<!--
520523
The name of the kubeconfig user to use
@@ -524,12 +527,12 @@ The name of the kubeconfig user to use
524527
</td>
525528
</tr>
526529

527-
528530
<tr>
529531
<td colspan="2">--username string</td>
530532
</tr>
531533
<tr>
532-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
534+
<td></td>
535+
<td style="line-height: 130%; word-wrap: break-word;">
533536
<p>
534537
<!--
535538
Username for basic authentication to the API server
@@ -543,7 +546,8 @@ Username for basic authentication to the API server
543546
<td colspan="2">--version version[=true]</td>
544547
</tr>
545548
<tr>
546-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
549+
<td></td>
550+
<td style="line-height: 130%; word-wrap: break-word;">
547551
<p>
548552
<!--
549553
--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version
@@ -557,7 +561,8 @@ Username for basic authentication to the API server
557561
<td colspan="2">--warnings-as-errors</td>
558562
</tr>
559563
<tr>
560-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
564+
<td></td>
565+
<td style="line-height: 130%; word-wrap: break-word;">
561566
<p>
562567
<!--
563568
Treat warnings received from the server as errors and exit with a non-zero exit code

0 commit comments

Comments
 (0)