@@ -78,7 +78,8 @@ kubectl events --types=Warning,Normal
78
78
<td colspan =" 2 " >-A, --all-namespaces</td >
79
79
</tr >
80
80
<tr >
81
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
81
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
82
+ <p >
82
83
<!--
83
84
If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
84
85
-->
@@ -91,7 +92,8 @@ If present, list the requested object(s) across all namespaces. Namespace in cur
91
92
<td colspan =" 2 " >--allow-missing-template-keys  ;  ;  ;  ;  ; <!-- Default:--> 默认值:true</td >
92
93
</tr >
93
94
<tr >
94
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
95
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
96
+ <p >
95
97
<!--
96
98
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.
97
99
-->
@@ -104,7 +106,8 @@ If true, ignore any errors in templates when a field or map key is missing in th
104
106
<td colspan =" 2 " >--chunk-size int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:500</td >
105
107
</tr >
106
108
<tr >
107
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
109
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
110
+ <p >
108
111
<!--
109
112
Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.
110
113
-->
@@ -117,7 +120,8 @@ Return large lists in chunks rather than all at once. Pass 0 to disable. This fl
117
120
<td colspan =" 2 " >--for string</td >
118
121
</tr >
119
122
<tr >
120
- <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 >
121
125
<!--
122
126
Filter events to only those pertaining to the specified resource.
123
127
-->
@@ -129,7 +133,8 @@ Filter events to only those pertaining to the specified resource.
129
133
<td colspan =" 2 " >-h, --help</td >
130
134
</tr >
131
135
<tr >
132
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
136
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
137
+ <p >
133
138
<!--
134
139
help for events
135
140
-->
@@ -141,7 +146,8 @@ events 操作的帮助命令。
141
146
<td colspan =" 2 " >--no-headers</td >
142
147
</tr >
143
148
<tr >
144
- <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 >
145
151
<!--
146
152
When using the default output format, don't print headers.
147
153
-->
@@ -153,7 +159,8 @@ When using the default output format, don't print headers.
153
159
<td colspan =" 2 " >-o, --output string</td >
154
160
</tr >
155
161
<tr >
156
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
162
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
163
+ <p >
157
164
<!--
158
165
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
159
166
-->
@@ -166,7 +173,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
166
173
<td colspan =" 2 " >--show-managed-fields</td >
167
174
</tr >
168
175
<tr >
169
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
176
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
177
+ <p >
170
178
<!--
171
179
If true, keep the managedFields when printing objects in JSON or YAML format.
172
180
-->
@@ -178,7 +186,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
178
186
<td colspan =" 2 " >--template string</td >
179
187
</tr >
180
188
<tr >
181
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
189
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
190
+ <p >
182
191
<!--
183
192
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].
184
193
-->
@@ -191,7 +200,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
191
200
<td colspan =" 2 " >--types strings</td >
192
201
</tr >
193
202
<tr >
194
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
203
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
204
+ <p >
195
205
<!--
196
206
Output only events of given types.
197
207
-->
@@ -203,7 +213,8 @@ Output only events of given types.
203
213
<td colspan =" 2 " >-w, --watch</td >
204
214
</tr >
205
215
<tr >
206
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
216
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
217
+ <p >
207
218
<!--
208
219
After listing the requested events, watch for more events.
209
220
-->
@@ -216,7 +227,7 @@ After listing the requested events, watch for more events.
216
227
217
228
## {{% heading "parentoptions" %}}
218
229
219
- <table style =" width : 100% ; table-layout : fixed ;" >
230
+ <table style =" width : 100% ; table-layout : fixed ;" >
220
231
<colgroup >
221
232
<col span =" 1 " style =" width : 10px ;" />
222
233
<col span =" 1 " />
@@ -227,7 +238,8 @@ After listing the requested events, watch for more events.
227
238
<td colspan =" 2 " >--as string</td >
228
239
</tr >
229
240
<tr >
230
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
241
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
242
+ <p >
231
243
<!--
232
244
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
233
245
-->
@@ -239,7 +251,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
239
251
<td colspan =" 2 " >--as-group strings</td >
240
252
</tr >
241
253
<tr >
242
- <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 >
243
256
<!--
244
257
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
245
258
-->
@@ -251,7 +264,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
251
264
<td colspan =" 2 " >--as-uid string</td >
252
265
</tr >
253
266
<tr >
254
- <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 >
255
269
<!--
256
270
UID to impersonate for the operation.
257
271
-->
@@ -263,7 +277,8 @@ UID to impersonate for the operation.
263
277
<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"$HOME/.kube/cache"</td >
264
278
</tr >
265
279
<tr >
266
- <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 >
267
282
<!--
268
283
Default cache directory
269
284
-->
@@ -275,7 +290,8 @@ Default cache directory
275
290
<td colspan =" 2 " >--certificate-authority string</td >
276
291
</tr >
277
292
<tr >
278
- <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 >
279
295
<!--
280
296
Path to a cert file for the certificate authority
281
297
-->
@@ -287,7 +303,8 @@ Path to a cert file for the certificate authority
287
303
<td colspan =" 2 " >--client-certificate string</td >
288
304
</tr >
289
305
<tr >
290
- <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 >
291
308
<!--
292
309
Path to a client certificate file for TLS
293
310
-->
@@ -299,7 +316,8 @@ TLS 客户端证书文件的路径。
299
316
<td colspan =" 2 " >--client-key string</td >
300
317
</tr >
301
318
<tr >
302
- <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 >
303
321
<!--
304
322
Path to a client key file for TLS
305
323
-->
@@ -311,7 +329,8 @@ TLS 客户端密钥文件的路径。
311
329
<td colspan =" 2 " >--cluster string</td >
312
330
</tr >
313
331
<tr >
314
- <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 >
315
334
<!--
316
335
The name of the kubeconfig cluster to use
317
336
-->
@@ -323,43 +342,21 @@ The name of the kubeconfig cluster to use
323
342
<td colspan =" 2 " >--context string</td >
324
343
</tr >
325
344
<tr >
326
- <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 >
327
347
<!--
328
348
The name of the kubeconfig context to use
329
349
-->
330
350
要使用的 kubeconfig 上下文的名称。
331
351
</p ></td >
332
352
</tr >
333
353
334
- <tr >
335
- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
336
- </tr >
337
- <tr >
338
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
339
- <!--
340
- 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.
341
- -->
342
- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
343
- </p ></td >
344
- </tr >
345
-
346
- <tr >
347
- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
348
- </tr >
349
- <tr >
350
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
351
- <!--
352
- 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.
353
- -->
354
- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
355
- </p ></td >
356
- </tr >
357
-
358
354
<tr >
359
355
<td colspan =" 2 " >--disable-compression</td >
360
356
</tr >
361
357
<tr >
362
- <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 >
363
360
<!--
364
361
If true, opt-out of response compression for all requests to the server
365
362
-->
@@ -371,7 +368,8 @@ If true, opt-out of response compression for all requests to the server
371
368
<td colspan =" 2 " >--insecure-skip-tls-verify</td >
372
369
</tr >
373
370
<tr >
374
- <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 >
375
373
<!--
376
374
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
377
375
-->
@@ -383,19 +381,36 @@ If true, the server's certificate will not be checked for validity. This will ma
383
381
<td colspan =" 2 " >--kubeconfig string</td >
384
382
</tr >
385
383
<tr >
386
- <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 >
387
386
<!--
388
387
Path to the kubeconfig file to use for CLI requests.
389
388
-->
390
389
CLI 请求要使用的 kubeconfig 文件的路径。
391
390
</p ></td >
392
391
</tr >
393
392
393
+ <tr >
394
+ <td colspan =" 2 " >--kuberc string</td >
395
+ </tr >
396
+ <tr >
397
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
398
+ <p >
399
+ <!--
400
+ 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.
401
+ -->
402
+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
403
+ 特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
404
+ </p >
405
+ </td >
406
+ </tr >
407
+
394
408
<tr >
395
409
<td colspan =" 2 " >--match-server-version</td >
396
410
</tr >
397
411
<tr >
398
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
412
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
413
+ <p >
399
414
<!--
400
415
Require server version to match client version
401
416
-->
0 commit comments