@@ -102,7 +102,8 @@ kubectl edit deployment mydeployment --subresource='status'
102
102
<td colspan =" 2 " >--allow-missing-template-keys  ;  ;  ;  ;  ; <!-- Default:--> 默认值:true</td >
103
103
</tr >
104
104
<tr >
105
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
105
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
106
+ <p >
106
107
<!--
107
108
If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.
108
109
-->
@@ -154,7 +155,8 @@ help for edit
154
155
<td colspan =" 2 " >-k, --kustomize string</td >
155
156
</tr >
156
157
<tr >
157
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
158
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
159
+ <p >
158
160
<!--
159
161
Process the kustomization directory. This flag can't be used together with -f or -R.
160
162
-->
@@ -166,7 +168,8 @@ Process the kustomization directory. This flag can't be used together with -f or
166
168
<td colspan =" 2 " >-o, --output string</td >
167
169
</tr >
168
170
<tr >
169
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
171
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
172
+ <p >
170
173
<!--
171
174
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
172
175
-->
@@ -192,7 +195,8 @@ Output the patch if the resource is edited.
192
195
<td colspan =" 2 " >-R, --recursive</td >
193
196
</tr >
194
197
<tr >
195
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
198
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
199
+ <p >
196
200
<!--
197
201
Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
198
202
-->
@@ -204,7 +208,8 @@ Process the directory used in -f, --filename recursively. Useful when you want t
204
208
<td colspan =" 2 " >--save-config</td >
205
209
</tr >
206
210
<tr >
207
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
211
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
212
+ <p >
208
213
<!--
209
214
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.
210
215
-->
@@ -217,7 +222,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
217
222
<td colspan =" 2 " >--show-managed-fields</td >
218
223
</tr >
219
224
<tr >
220
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
225
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
226
+ <p >
221
227
<!--
222
228
If true, keep the managedFields when printing objects in JSON or YAML format.
223
229
-->
@@ -242,7 +248,8 @@ If specified, edit will operate on the subresource of the requested object.
242
248
<td colspan =" 2 " >--template string</td >
243
249
</tr >
244
250
<tr >
245
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
251
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
252
+ <p >
246
253
<!--
247
254
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].
248
255
-->
@@ -255,7 +262,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
255
262
<td colspan =" 2 " >--validate string[="strict"]  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"strict"</td >
256
263
</tr >
257
264
<tr >
258
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
265
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
266
+ <p >
259
267
<!--
260
268
Must be one of: strict (or true), warn, ignore (or false). "true" or "strict" 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. "warn" 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 "ignore" otherwise. "false" or "ignore" will not perform any schema validation, silently dropping any unknown or duplicate fields.
261
269
-->
@@ -273,7 +281,8 @@ Must be one of: strict (or true), warn, ignore (or false). "true" or &
273
281
<td colspan =" 2 " >--windows-line-endings</td >
274
282
</tr >
275
283
<tr >
276
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
284
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
285
+ <p >
277
286
<!--
278
287
Only relevant if --edit=true. Defaults to the line ending native to your platform.
279
288
-->
@@ -297,7 +306,8 @@ Only relevant if --edit=true. Defaults to the line ending native to your platfor
297
306
<td colspan =" 2 " >--as string</td >
298
307
</tr >
299
308
<tr >
300
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
309
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
310
+ <p >
301
311
<!--
302
312
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
303
313
-->
@@ -309,7 +319,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
309
319
<td colspan =" 2 " >--as-group strings</td >
310
320
</tr >
311
321
<tr >
312
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
322
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
323
+ <p >
313
324
<!--
314
325
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
315
326
-->
@@ -321,7 +332,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
321
332
<td colspan =" 2 " >--as-uid string</td >
322
333
</tr >
323
334
<tr >
324
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
335
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
336
+ <p >
325
337
<!--
326
338
UID to impersonate for the operation.
327
339
-->
@@ -333,7 +345,8 @@ UID to impersonate for the operation.
333
345
<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"$HOME/.kube/cache"</td >
334
346
</tr >
335
347
<tr >
336
- <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 >
337
350
<!--
338
351
Default cache directory
339
352
-->
@@ -345,7 +358,8 @@ Default cache directory
345
358
<td colspan =" 2 " >--certificate-authority string</td >
346
359
</tr >
347
360
<tr >
348
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
361
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
362
+ <p >
349
363
<!--
350
364
Path to a cert file for the certificate authority
351
365
-->
@@ -357,7 +371,8 @@ Path to a cert file for the certificate authority
357
371
<td colspan =" 2 " >--client-certificate string</td >
358
372
</tr >
359
373
<tr >
360
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
374
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
375
+ <p >
361
376
<!--
362
377
Path to a client certificate file for TLS
363
378
-->
@@ -369,7 +384,8 @@ TLS 客户端证书文件的路径。
369
384
<td colspan =" 2 " >--client-key string</td >
370
385
</tr >
371
386
<tr >
372
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
387
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
388
+ <p >
373
389
<!--
374
390
Path to a client key file for TLS
375
391
-->
@@ -381,7 +397,8 @@ TLS 客户端密钥文件的路径。
381
397
<td colspan =" 2 " >--cluster string</td >
382
398
</tr >
383
399
<tr >
384
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
400
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
401
+ <p >
385
402
<!--
386
403
The name of the kubeconfig cluster to use
387
404
-->
@@ -393,43 +410,21 @@ The name of the kubeconfig cluster to use
393
410
<td colspan =" 2 " >--context string</td >
394
411
</tr >
395
412
<tr >
396
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
413
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
414
+ <p >
397
415
<!--
398
416
The name of the kubeconfig context to use
399
417
-->
400
418
要使用的 kubeconfig 上下文的名称。
401
419
</p ></td >
402
420
</tr >
403
421
404
- <tr >
405
- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
406
- </tr >
407
- <tr >
408
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
409
- <!--
410
- 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.
411
- -->
412
- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
413
- </p ></td >
414
- </tr >
415
-
416
- <tr >
417
- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
418
- </tr >
419
- <tr >
420
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
421
- <!--
422
- 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.
423
- -->
424
- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
425
- </p ></td >
426
- </tr >
427
-
428
422
<tr >
429
423
<td colspan =" 2 " >--disable-compression</td >
430
424
</tr >
431
425
<tr >
432
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
426
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
427
+ <p >
433
428
<!--
434
429
If true, opt-out of response compression for all requests to the server
435
430
-->
@@ -441,7 +436,8 @@ If true, opt-out of response compression for all requests to the server
441
436
<td colspan =" 2 " >--insecure-skip-tls-verify</td >
442
437
</tr >
443
438
<tr >
444
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
439
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
440
+ <p >
445
441
<!--
446
442
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
447
443
-->
@@ -453,19 +449,36 @@ If true, the server's certificate will not be checked for validity. This will ma
453
449
<td colspan =" 2 " >--kubeconfig string</td >
454
450
</tr >
455
451
<tr >
456
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
452
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
453
+ <p >
457
454
<!--
458
455
Path to the kubeconfig file to use for CLI requests.
459
456
-->
460
457
CLI 请求要使用的 kubeconfig 文件的路径。
461
458
</p ></td >
462
459
</tr >
463
460
461
+ <tr >
462
+ <td colspan =" 2 " >--kuberc string</td >
463
+ </tr >
464
+ <tr >
465
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
466
+ <p >
467
+ <!--
468
+ 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.
469
+ -->
470
+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
471
+ 特性门控或关闭 KUBERC=off 特性来禁用此功能。
472
+ </p >
473
+ </td >
474
+ </tr >
475
+
464
476
<tr >
465
477
<td colspan =" 2 " >--match-server-version</td >
466
478
</tr >
467
479
<tr >
468
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
480
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
481
+ <p >
469
482
<!--
470
483
Require server version to match client version
471
484
-->
@@ -477,7 +490,8 @@ Require server version to match client version
477
490
<td colspan =" 2 " >-n, --namespace string</td >
478
491
</tr >
479
492
<tr >
480
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
493
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
494
+ <p >
481
495
<!--
482
496
If present, the namespace scope for this CLI request
483
497
-->
0 commit comments