@@ -125,7 +125,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
125
125
<td colspan =" 2 " >--save-config</td >
126
126
</tr >
127
127
<tr >
128
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
128
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
129
+ <p >
129
130
<!--
130
131
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.
131
132
-->
@@ -138,7 +139,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
138
139
<td colspan =" 2 " >--show-managed-fields</td >
139
140
</tr >
140
141
<tr >
141
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
142
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
143
+ <p >
142
144
<!--
143
145
If true, keep the managedFields when printing objects in JSON or YAML format.
144
146
-->
@@ -150,7 +152,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
150
152
<td colspan =" 2 " >--tcp strings</td >
151
153
</tr >
152
154
<tr >
153
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
155
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
156
+ <p >
154
157
<!--
155
158
Port pairs can be specified as '<port>:<targetPort>'.
156
159
-->
@@ -162,7 +165,8 @@ Port pairs can be specified as '<port>:<targetPort>'.
162
165
<td colspan =" 2 " >--template string</td >
163
166
</tr >
164
167
<tr >
165
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
168
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
169
+ <p >
166
170
<!--
167
171
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].
168
172
-->
@@ -175,7 +179,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
175
179
<td colspan =" 2 " >--validate string[="strict"]  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"strict"</td >
176
180
</tr >
177
181
<tr >
178
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
182
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
183
+ <p >
179
184
<!--
180
185
Must be one of: strict (or true), warn, ignore (or false). "true" or "strict" will
181
186
use a schema to validate the input and fail the request if invalid. It will perform server side validation
@@ -198,8 +203,6 @@ unknown or duplicate fields.
198
203
</tbody >
199
204
</table >
200
205
201
-
202
-
203
206
## {{% heading "parentoptions" %}}
204
207
205
208
<table style =" width : 100% ; table-layout : fixed ;" >
@@ -213,7 +216,8 @@ unknown or duplicate fields.
213
216
<td colspan =" 2 " >--as string</td >
214
217
</tr >
215
218
<tr >
216
- <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 >
217
221
<!--
218
222
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
219
223
-->
@@ -225,7 +229,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
225
229
<td colspan =" 2 " >--as-group strings</td >
226
230
</tr >
227
231
<tr >
228
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
232
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
233
+ <p >
229
234
<!--
230
235
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
231
236
-->
@@ -237,7 +242,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
237
242
<td colspan =" 2 " >--as-uid string</td >
238
243
</tr >
239
244
<tr >
240
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
245
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
246
+ <p >
241
247
<!--
242
248
UID to impersonate for the operation.
243
249
-->
@@ -249,7 +255,8 @@ UID to impersonate for the operation.
249
255
<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"$HOME/.kube/cache"</td >
250
256
</tr >
251
257
<tr >
252
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
258
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
259
+ <p >
253
260
<!--
254
261
Default cache directory
255
262
-->
@@ -261,7 +268,8 @@ Default cache directory
261
268
<td colspan =" 2 " >--certificate-authority string</td >
262
269
</tr >
263
270
<tr >
264
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
271
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
272
+ <p >
265
273
<!--
266
274
Path to a cert file for the certificate authority
267
275
-->
@@ -273,7 +281,8 @@ Path to a cert file for the certificate authority
273
281
<td colspan =" 2 " >--client-certificate string</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
Path to a client certificate file for TLS
279
288
-->
@@ -285,7 +294,8 @@ TLS 客户端证书文件的路径。
285
294
<td colspan =" 2 " >--client-key string</td >
286
295
</tr >
287
296
<tr >
288
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
297
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
298
+ <p >
289
299
<!--
290
300
Path to a client key file for TLS
291
301
-->
@@ -297,7 +307,8 @@ TLS 客户端密钥文件的路径。
297
307
<td colspan =" 2 " >--cluster string</td >
298
308
</tr >
299
309
<tr >
300
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
310
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
311
+ <p >
301
312
<!--
302
313
The name of the kubeconfig cluster to use
303
314
-->
@@ -309,43 +320,21 @@ The name of the kubeconfig cluster to use
309
320
<td colspan =" 2 " >--context string</td >
310
321
</tr >
311
322
<tr >
312
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
323
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
324
+ <p >
313
325
<!--
314
326
The name of the kubeconfig context to use
315
327
-->
316
328
要使用的 kubeconfig 上下文的名称。
317
329
</p ></td >
318
330
</tr >
319
331
320
- <tr >
321
- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
322
- </tr >
323
- <tr >
324
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
325
- <!--
326
- 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.
327
- -->
328
- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
329
- </p ></td >
330
- </tr >
331
-
332
- <tr >
333
- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
334
- </tr >
335
- <tr >
336
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
337
- <!--
338
- 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.
339
- -->
340
- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
341
- </p ></td >
342
- </tr >
343
-
344
332
<tr >
345
333
<td colspan =" 2 " >--disable-compression</td >
346
334
</tr >
347
335
<tr >
348
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
336
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
337
+ <p >
349
338
<!--
350
339
If true, opt-out of response compression for all requests to the server
351
340
-->
@@ -357,7 +346,8 @@ If true, opt-out of response compression for all requests to the server
357
346
<td colspan =" 2 " >--insecure-skip-tls-verify</td >
358
347
</tr >
359
348
<tr >
360
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
349
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
350
+ <p >
361
351
<!--
362
352
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
363
353
-->
@@ -369,19 +359,36 @@ If true, the server's certificate will not be checked for validity. This will ma
369
359
<td colspan =" 2 " >--kubeconfig string</td >
370
360
</tr >
371
361
<tr >
372
- <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 >
373
364
<!--
374
365
Path to the kubeconfig file to use for CLI requests.
375
366
-->
376
367
CLI 请求要使用的 kubeconfig 文件的路径。
377
368
</p ></td >
378
369
</tr >
379
370
371
+ <tr >
372
+ <td colspan =" 2 " >--kuberc string</td >
373
+ </tr >
374
+ <tr >
375
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
376
+ <p >
377
+ <!--
378
+ 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.
379
+ -->
380
+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
381
+ 特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
382
+ </p >
383
+ </td >
384
+ </tr >
385
+
380
386
<tr >
381
387
<td colspan =" 2 " >--match-server-version</td >
382
388
</tr >
383
389
<tr >
384
- <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 >
385
392
<!--
386
393
Require server version to match client version
387
394
-->
@@ -393,7 +400,8 @@ Require server version to match client version
393
400
<td colspan =" 2 " >-n, --namespace string</td >
394
401
</tr >
395
402
<tr >
396
- <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 >
397
405
<!--
398
406
If present, the namespace scope for this CLI request
399
407
-->
@@ -405,7 +413,8 @@ If present, the namespace scope for this CLI request
405
413
<td colspan =" 2 " >--password string</td >
406
414
</tr >
407
415
<tr >
408
- <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 >
409
418
<!--
410
419
Password for basic authentication to the API server
411
420
-->
@@ -417,7 +426,8 @@ Password for basic authentication to the API server
417
426
<td colspan =" 2 " >--profile string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"none"</td >
418
427
</tr >
419
428
<tr >
420
- <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 >
421
431
<!--
422
432
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
423
433
-->
0 commit comments