@@ -117,7 +117,8 @@ kubectl debug node/mynode -it --image=busybox
117
117
<td colspan =" 2 " >--arguments-only</td >
118
118
</tr >
119
119
<tr >
120
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
120
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
121
+ <p >
121
122
<!--
122
123
If specified, everything after -- will be passed to the new container as Args instead of Command.
123
124
-->
@@ -130,7 +131,8 @@ If specified, everything after -- will be passed to the new container as Args in
130
131
<td colspan =" 2 " >--attach</td >
131
132
</tr >
132
133
<tr >
133
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
134
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
135
+ <p >
134
136
<!--
135
137
If true, wait for the container to start running, and then attach as if 'kubectl attach ...' were called. Default false, unless '-i/--stdin' is set, in which case the default is true.
136
138
-->
@@ -144,7 +146,8 @@ If true, wait for the container to start running, and then attach as if 'kubectl
144
146
<td colspan =" 2 " >-c, --container string</td >
145
147
</tr >
146
148
<tr >
147
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
149
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
150
+ <p >
148
151
<!--
149
152
Container name to use for debug container.
150
153
-->
@@ -157,7 +160,8 @@ Container name to use for debug container.
157
160
<td colspan =" 2 " >--copy-to string</td >
158
161
</tr >
159
162
<tr >
160
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
163
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
164
+ <p >
161
165
<!--
162
166
Create a copy of the target Pod with this name.
163
167
-->
@@ -184,7 +188,8 @@ Path to a JSON or YAML file containing a partial container spec to customize bui
184
188
<td colspan =" 2 " >--env stringToString  ;  ;  ;  ;  ; <!-- Default: []--> 默认值:[]</td >
185
189
</tr >
186
190
<tr >
187
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
191
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
192
+ <p >
188
193
<!--
189
194
Environment variables to set in the container.
190
195
-->
@@ -197,7 +202,8 @@ Environment variables to set in the container.
197
202
<td colspan =" 2 " >-f, --filename strings</td >
198
203
</tr >
199
204
<tr >
200
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
205
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
206
+ <p >
201
207
<!--
202
208
identifying the resource to debug
203
209
-->
@@ -210,7 +216,8 @@ identifying the resource to debug
210
216
<td colspan =" 2 " >-h, --help</td >
211
217
</tr >
212
218
<tr >
213
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
219
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
220
+ <p >
214
221
<!--
215
222
help for debug
216
223
-->
@@ -223,7 +230,8 @@ debug 操作的帮助命令。
223
230
<td colspan =" 2 " >--image string</td >
224
231
</tr >
225
232
<tr >
226
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
233
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
234
+ <p >
227
235
<!--
228
236
Container image to use for debug container.
229
237
-->
@@ -236,7 +244,8 @@ Container image to use for debug container.
236
244
<td colspan =" 2 " >--image-pull-policy string</td >
237
245
</tr >
238
246
<tr >
239
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
247
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
248
+ <p >
240
249
<!--
241
250
The image pull policy for the container. If left empty, this value will not be specified by the client and defaulted by the server.
242
251
-->
@@ -336,7 +345,8 @@ If true, keep the original startup probes.(This flag only works when used with '
336
345
<td colspan =" 2 " >--profile string  ;  ;  ;  ;  ; <!-- Default: "legacy"--> 默认值:"legacy"</td >
337
346
</tr >
338
347
<tr >
339
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
348
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
349
+ <p >
340
350
<!--
341
351
Options are "legacy", "general", "baseline", "netadmin", "restricted" or "sysadmin".
342
352
-->
@@ -349,7 +359,8 @@ Options are "legacy", "general", "baseline", "
349
359
<td colspan =" 2 " >-q, --quiet</td >
350
360
</tr >
351
361
<tr >
352
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
362
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
363
+ <p >
353
364
<!--
354
365
If true, suppress informational messages.
355
366
-->
@@ -362,11 +373,12 @@ If true, suppress informational messages.
362
373
<td colspan =" 2 " >--replace</td >
363
374
</tr >
364
375
<tr >
365
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
376
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
377
+ <p >
366
378
<!--
367
379
When used with '--copy-to', delete the original Pod.
368
380
-->
369
- 当与 “ --copy-to” 一起使用时,删除原来的 Pod。
381
+ 当与 ' --copy-to' 一起使用时,删除原来的 Pod。
370
382
</p >
371
383
</td >
372
384
</tr >
@@ -375,11 +387,12 @@ When used with '--copy-to', delete the original Pod.
375
387
<td colspan =" 2 " >--same-node</td >
376
388
</tr >
377
389
<tr >
378
- <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 >
379
392
<!--
380
393
When used with '--copy-to', schedule the copy of target Pod on the same node.
381
394
-->
382
- 当与 “ --copy-to” 一起使用时,将目标 Pod 的副本调度到同一个节点上。
395
+ 当与 ' --copy-to' 一起使用时,将目标 Pod 的副本调度到同一个节点上。
383
396
</p >
384
397
</td >
385
398
</tr >
@@ -388,11 +401,12 @@ When used with '--copy-to', schedule the copy of target Pod on the same node.
388
401
<td colspan =" 2 " >--set-image stringToString  ;  ;  ;  ;  ; <!-- Default: []--> 默认值:[]</td >
389
402
</tr >
390
403
<tr >
391
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
404
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
405
+ <p >
392
406
<!--
393
407
When used with '--copy-to', a list of name=image pairs for changing container images, similar to how 'kubectl set image' works.
394
408
-->
395
- 当与 “ --copy-to” 一起使用时,提供一个 name=image 对的列表以更改容器镜像,类似于 ` kubectl set image ` 的工作方式。
409
+ 当与 ' --copy-to' 一起使用时,提供一个 name=image 对的列表以更改容器镜像,类似于 ` kubectl set image ` 的工作方式。
396
410
</p >
397
411
</td >
398
412
</tr >
@@ -401,11 +415,12 @@ When used with '--copy-to', a list of name=image pairs for changing container im
401
415
<td colspan =" 2 " >--share-processes  ;  ;  ;  ;  ; <!-- Default: true--> 默认值:true</td >
402
416
</tr >
403
417
<tr >
404
- <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 >
405
420
<!--
406
421
When used with '--copy-to', enable process namespace sharing in the copy.
407
422
-->
408
- 当与 “ --copy-to” 一起使用时,在副本中启用进程命名空间共享。
423
+ 当与 ' --copy-to' 一起使用时,在副本中启用进程命名空间共享。
409
424
</p >
410
425
</td >
411
426
</tr >
@@ -414,7 +429,8 @@ When used with '--copy-to', enable process namespace sharing in the copy.
414
429
<td colspan =" 2 " >-i, --stdin</td >
415
430
</tr >
416
431
<tr >
417
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
432
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
433
+ <p >
418
434
<!--
419
435
Keep stdin open on the container(s) in the pod, even if nothing is attached.
420
436
-->
@@ -427,7 +443,8 @@ Keep stdin open on the container(s) in the pod, even if nothing is attached.
427
443
<td colspan =" 2 " >--target string</td >
428
444
</tr >
429
445
<tr >
430
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
446
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
447
+ <p >
431
448
<!--
432
449
When using an ephemeral container, target processes in this container name.
433
450
-->
@@ -440,7 +457,8 @@ When using an ephemeral container, target processes in this container name.
440
457
<td colspan =" 2 " >-t, --tty</td >
441
458
</tr >
442
459
<tr >
443
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
460
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
461
+ <p >
444
462
<!--
445
463
Allocate a TTY for the debugging container.
446
464
-->
@@ -464,7 +482,8 @@ Allocate a TTY for the debugging container.
464
482
<td colspan =" 2 " >--as string</td >
465
483
</tr >
466
484
<tr >
467
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
485
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
486
+ <p >
468
487
<!--
469
488
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
470
489
-->
@@ -476,7 +495,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
476
495
<td colspan =" 2 " >--as-group strings</td >
477
496
</tr >
478
497
<tr >
479
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
498
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
499
+ <p >
480
500
<!--
481
501
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
482
502
-->
@@ -488,7 +508,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
488
508
<td colspan =" 2 " >--as-uid string</td >
489
509
</tr >
490
510
<tr >
491
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
511
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
512
+ <p >
492
513
<!--
493
514
UID to impersonate for the operation.
494
515
-->
@@ -500,7 +521,8 @@ UID to impersonate for the operation.
500
521
<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default: "$HOME/.kube/cache"--> 默认值:"$HOME/.kube/cache"</td >
501
522
</tr >
502
523
<tr >
503
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
524
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
525
+ <p >
504
526
<!--
505
527
Default cache directory
506
528
-->
@@ -512,7 +534,8 @@ Default cache directory
512
534
<td colspan =" 2 " >--certificate-authority string</td >
513
535
</tr >
514
536
<tr >
515
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
537
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
538
+ <p >
516
539
<!--
517
540
Path to a cert file for the certificate authority
518
541
-->
@@ -524,7 +547,8 @@ Path to a cert file for the certificate authority
524
547
<td colspan =" 2 " >--client-certificate string</td >
525
548
</tr >
526
549
<tr >
527
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
550
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
551
+ <p >
528
552
<!--
529
553
Path to a client certificate file for TLS
530
554
-->
@@ -568,30 +592,6 @@ The name of the kubeconfig context to use
568
592
</p ></td >
569
593
</tr >
570
594
571
- <tr >
572
- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default: 300--> 默认值:300</td >
573
- </tr >
574
- <tr >
575
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
576
- <!--
577
- 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.
578
- -->
579
- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
580
- </p ></td >
581
- </tr >
582
-
583
- <tr >
584
- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default: 300--> 默认值:300</td >
585
- </tr >
586
- <tr >
587
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
588
- <!--
589
- 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.
590
- -->
591
- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
592
- </p ></td >
593
- </tr >
594
-
595
595
<tr >
596
596
<td colspan =" 2 " >--disable-compression</td >
597
597
</tr >
@@ -620,14 +620,30 @@ If true, the server's certificate will not be checked for validity. This will ma
620
620
<td colspan =" 2 " >--kubeconfig string</td >
621
621
</tr >
622
622
<tr >
623
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
623
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
624
+ <p >
624
625
<!--
625
626
Path to the kubeconfig file to use for CLI requests.
626
627
-->
627
628
CLI 请求要使用的 kubeconfig 文件的路径。
628
629
</p ></td >
629
630
</tr >
630
631
632
+ <tr >
633
+ <td colspan =" 2 " >--kuberc string</td >
634
+ </tr >
635
+ <tr >
636
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
637
+ <p >
638
+ <!--
639
+ 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.
640
+ -->
641
+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
642
+ 特性门控或关闭 KUBERC=off 特性来禁用此功能。
643
+ </p >
644
+ </td >
645
+ </tr >
646
+
631
647
<tr >
632
648
<td colspan =" 2 " >--match-server-version</td >
633
649
</tr >
0 commit comments