@@ -107,7 +107,8 @@ Name of the manager used to track field ownership.
107
107
<td colspan =" 2 " >-h, --help</td >
108
108
</tr >
109
109
<tr >
110
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
110
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
111
+ <p >
111
112
<!--
112
113
help for role
113
114
-->
@@ -119,7 +120,8 @@ role 操作的帮助命令。
119
120
<td colspan =" 2 " >-o, --output string</td >
120
121
</tr >
121
122
<tr >
122
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
123
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
124
+ <p >
123
125
<!--
124
126
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
125
127
-->
@@ -132,7 +134,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
132
134
<td colspan =" 2 " >--resource strings</td >
133
135
</tr >
134
136
<tr >
135
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
137
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
138
+ <p >
136
139
<!--
137
140
Resource that the rule applies to
138
141
-->
@@ -144,7 +147,8 @@ Resource that the rule applies to
144
147
<td colspan =" 2 " >--resource-name strings</td >
145
148
</tr >
146
149
<tr >
147
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
150
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
151
+ <p >
148
152
<!--
149
153
Resource in the white list that the rule applies to, repeat this flag for multiple items
150
154
-->
@@ -156,7 +160,8 @@ Resource in the white list that the rule applies to, repeat this flag for multip
156
160
<td colspan =" 2 " >--save-config</td >
157
161
</tr >
158
162
<tr >
159
- <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 >
160
165
<!--
161
166
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.
162
167
-->
@@ -169,7 +174,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
169
174
<td colspan =" 2 " >--show-managed-fields</td >
170
175
</tr >
171
176
<tr >
172
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
177
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
178
+ <p >
173
179
<!--
174
180
If true, keep the managedFields when printing objects in JSON or YAML format.
175
181
-->
@@ -181,7 +187,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
181
187
<td colspan =" 2 " >--template string</td >
182
188
</tr >
183
189
<tr >
184
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
190
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
191
+ <p >
185
192
<!--
186
193
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].
187
194
-->
@@ -194,7 +201,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
194
201
<td colspan =" 2 " >--validate string[="strict"]  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"strict"</td >
195
202
</tr >
196
203
<tr >
197
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
204
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
205
+ <p >
198
206
<!--
199
207
Must be one of: strict (or true), warn, ignore (or false). "true" or "strict" will
200
208
use a schema to validate the input and fail the request if invalid. It will perform server side validation
@@ -218,7 +226,8 @@ unknown or duplicate fields.
218
226
<td colspan =" 2 " >--verb strings</td >
219
227
</tr >
220
228
<tr >
221
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
229
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
230
+ <p >
222
231
<!--
223
232
Verb that applies to the resources contained in the rule
224
233
-->
@@ -242,7 +251,8 @@ Verb that applies to the resources contained in the rule
242
251
<td colspan =" 2 " >--as string</td >
243
252
</tr >
244
253
<tr >
245
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
254
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
255
+ <p >
246
256
<!--
247
257
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
248
258
-->
@@ -254,7 +264,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
254
264
<td colspan =" 2 " >--as-group strings</td >
255
265
</tr >
256
266
<tr >
257
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
267
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
268
+ <p >
258
269
<!--
259
270
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
260
271
-->
@@ -266,7 +277,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
266
277
<td colspan =" 2 " >--as-uid string</td >
267
278
</tr >
268
279
<tr >
269
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
280
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
281
+ <p >
270
282
<!--
271
283
UID to impersonate for the operation.
272
284
-->
@@ -278,7 +290,8 @@ UID to impersonate for the operation.
278
290
<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"$HOME/.kube/cache"</td >
279
291
</tr >
280
292
<tr >
281
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
293
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
294
+ <p >
282
295
<!--
283
296
Default cache directory
284
297
-->
@@ -290,7 +303,8 @@ Default cache directory
290
303
<td colspan =" 2 " >--certificate-authority string</td >
291
304
</tr >
292
305
<tr >
293
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
306
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
307
+ <p >
294
308
<!--
295
309
Path to a cert file for the certificate authority
296
310
-->
@@ -302,7 +316,8 @@ Path to a cert file for the certificate authority
302
316
<td colspan =" 2 " >--client-certificate string</td >
303
317
</tr >
304
318
<tr >
305
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
319
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
320
+ <p >
306
321
<!--
307
322
Path to a client certificate file for TLS
308
323
-->
@@ -314,7 +329,8 @@ TLS 客户端证书文件的路径。
314
329
<td colspan =" 2 " >--client-key string</td >
315
330
</tr >
316
331
<tr >
317
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
332
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
333
+ <p >
318
334
<!--
319
335
Path to a client key file for TLS
320
336
-->
@@ -326,7 +342,8 @@ TLS 客户端密钥文件的路径。
326
342
<td colspan =" 2 " >--cluster string</td >
327
343
</tr >
328
344
<tr >
329
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
345
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
346
+ <p >
330
347
<!--
331
348
The name of the kubeconfig cluster to use
332
349
-->
@@ -338,43 +355,21 @@ The name of the kubeconfig cluster to use
338
355
<td colspan =" 2 " >--context string</td >
339
356
</tr >
340
357
<tr >
341
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
358
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
359
+ <p >
342
360
<!--
343
361
The name of the kubeconfig context to use
344
362
-->
345
363
要使用的 kubeconfig 上下文的名称。
346
364
</p ></td >
347
365
</tr >
348
366
349
- <tr >
350
- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
351
- </tr >
352
- <tr >
353
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
354
- <!--
355
- 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.
356
- -->
357
- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
358
- </p ></td >
359
- </tr >
360
-
361
- <tr >
362
- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
363
- </tr >
364
- <tr >
365
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
366
- <!--
367
- 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.
368
- -->
369
- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
370
- </p ></td >
371
- </tr >
372
-
373
367
<tr >
374
368
<td colspan =" 2 " >--disable-compression</td >
375
369
</tr >
376
370
<tr >
377
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
371
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
372
+ <p >
378
373
<!--
379
374
If true, opt-out of response compression for all requests to the server
380
375
-->
@@ -386,7 +381,8 @@ If true, opt-out of response compression for all requests to the server
386
381
<td colspan =" 2 " >--insecure-skip-tls-verify</td >
387
382
</tr >
388
383
<tr >
389
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
384
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
385
+ <p >
390
386
<!--
391
387
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
392
388
-->
@@ -398,19 +394,36 @@ If true, the server's certificate will not be checked for validity. This will ma
398
394
<td colspan =" 2 " >--kubeconfig string</td >
399
395
</tr >
400
396
<tr >
401
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
397
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
398
+ <p >
402
399
<!--
403
400
Path to the kubeconfig file to use for CLI requests.
404
401
-->
405
402
CLI 请求要使用的 kubeconfig 文件的路径。
406
403
</p ></td >
407
404
</tr >
408
405
406
+ <tr >
407
+ <td colspan =" 2 " >--kuberc string</td >
408
+ </tr >
409
+ <tr >
410
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
411
+ <p >
412
+ <!--
413
+ 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.
414
+ -->
415
+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
416
+ 特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
417
+ </p >
418
+ </td >
419
+ </tr >
420
+
409
421
<tr >
410
422
<td colspan =" 2 " >--match-server-version</td >
411
423
</tr >
412
424
<tr >
413
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
425
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
426
+ <p >
414
427
<!--
415
428
Require server version to match client version
416
429
-->
0 commit comments