Skip to content

Commit 3914c42

Browse files
committed
[zh-cn]sync kubectl_events/_index.md
Signed-off-by: xin.li <[email protected]>
1 parent 2e4a9cb commit 3914c42

File tree

1 file changed

+64
-49
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_events

1 file changed

+64
-49
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_events/_index.md

Lines changed: 64 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ kubectl events --types=Warning,Normal
7878
<td colspan="2">-A, --all-namespaces</td>
7979
</tr>
8080
<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>
8283
<!--
8384
If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
8485
-->
@@ -91,7 +92,8 @@ If present, list the requested object(s) across all namespaces. Namespace in cur
9192
<td colspan="2">--allow-missing-template-keys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:true</td>
9293
</tr>
9394
<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>
9597
<!--
9698
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.
9799
-->
@@ -104,7 +106,8 @@ If true, ignore any errors in templates when a field or map key is missing in th
104106
<td colspan="2">--chunk-size int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:500</td>
105107
</tr>
106108
<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>
108111
<!--
109112
Return large lists in chunks rather than all at once. Pass 0 to disable. This flag is beta and may change in the future.
110113
-->
@@ -117,7 +120,8 @@ Return large lists in chunks rather than all at once. Pass 0 to disable. This fl
117120
<td colspan="2">--for string</td>
118121
</tr>
119122
<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>
121125
<!--
122126
Filter events to only those pertaining to the specified resource.
123127
-->
@@ -129,7 +133,8 @@ Filter events to only those pertaining to the specified resource.
129133
<td colspan="2">-h, --help</td>
130134
</tr>
131135
<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>
133138
<!--
134139
help for events
135140
-->
@@ -141,7 +146,8 @@ events 操作的帮助命令。
141146
<td colspan="2">--no-headers</td>
142147
</tr>
143148
<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>
145151
<!--
146152
When using the default output format, don't print headers.
147153
-->
@@ -153,7 +159,8 @@ When using the default output format, don't print headers.
153159
<td colspan="2">-o, --output string</td>
154160
</tr>
155161
<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>
157164
<!--
158165
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
159166
-->
@@ -166,7 +173,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
166173
<td colspan="2">--show-managed-fields</td>
167174
</tr>
168175
<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>
170178
<!--
171179
If true, keep the managedFields when printing objects in JSON or YAML format.
172180
-->
@@ -178,7 +186,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
178186
<td colspan="2">--template string</td>
179187
</tr>
180188
<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>
182191
<!--
183192
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].
184193
-->
@@ -191,7 +200,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
191200
<td colspan="2">--types strings</td>
192201
</tr>
193202
<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>
195205
<!--
196206
Output only events of given types.
197207
-->
@@ -203,7 +213,8 @@ Output only events of given types.
203213
<td colspan="2">-w, --watch</td>
204214
</tr>
205215
<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>
207218
<!--
208219
After listing the requested events, watch for more events.
209220
-->
@@ -216,7 +227,7 @@ After listing the requested events, watch for more events.
216227

217228
## {{% heading "parentoptions" %}}
218229

219-
<table style="width: 100%; table-layout: fixed;">
230+
<table style="width: 100%; table-layout: fixed;">
220231
<colgroup>
221232
<col span="1" style="width: 10px;" />
222233
<col span="1" />
@@ -227,7 +238,8 @@ After listing the requested events, watch for more events.
227238
<td colspan="2">--as string</td>
228239
</tr>
229240
<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>
231243
<!--
232244
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
233245
-->
@@ -239,7 +251,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
239251
<td colspan="2">--as-group strings</td>
240252
</tr>
241253
<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>
243256
<!--
244257
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
245258
-->
@@ -251,7 +264,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
251264
<td colspan="2">--as-uid string</td>
252265
</tr>
253266
<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>
255269
<!--
256270
UID to impersonate for the operation.
257271
-->
@@ -263,7 +277,8 @@ UID to impersonate for the operation.
263277
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
264278
</tr>
265279
<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>
267282
<!--
268283
Default cache directory
269284
-->
@@ -275,7 +290,8 @@ Default cache directory
275290
<td colspan="2">--certificate-authority string</td>
276291
</tr>
277292
<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>
279295
<!--
280296
Path to a cert file for the certificate authority
281297
-->
@@ -287,7 +303,8 @@ Path to a cert file for the certificate authority
287303
<td colspan="2">--client-certificate string</td>
288304
</tr>
289305
<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>
291308
<!--
292309
Path to a client certificate file for TLS
293310
-->
@@ -299,7 +316,8 @@ TLS 客户端证书文件的路径。
299316
<td colspan="2">--client-key string</td>
300317
</tr>
301318
<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>
303321
<!--
304322
Path to a client key file for TLS
305323
-->
@@ -311,7 +329,8 @@ TLS 客户端密钥文件的路径。
311329
<td colspan="2">--cluster string</td>
312330
</tr>
313331
<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>
315334
<!--
316335
The name of the kubeconfig cluster to use
317336
-->
@@ -323,43 +342,21 @@ The name of the kubeconfig cluster to use
323342
<td colspan="2">--context string</td>
324343
</tr>
325344
<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>
327347
<!--
328348
The name of the kubeconfig context to use
329349
-->
330350
要使用的 kubeconfig 上下文的名称。
331351
</p></td>
332352
</tr>
333353

334-
<tr>
335-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--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-
358354
<tr>
359355
<td colspan="2">--disable-compression</td>
360356
</tr>
361357
<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>
363360
<!--
364361
If true, opt-out of response compression for all requests to the server
365362
-->
@@ -371,7 +368,8 @@ If true, opt-out of response compression for all requests to the server
371368
<td colspan="2">--insecure-skip-tls-verify</td>
372369
</tr>
373370
<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>
375373
<!--
376374
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
377375
-->
@@ -383,19 +381,36 @@ If true, the server's certificate will not be checked for validity. This will ma
383381
<td colspan="2">--kubeconfig string</td>
384382
</tr>
385383
<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>
387386
<!--
388387
Path to the kubeconfig file to use for CLI requests.
389388
-->
390389
CLI 请求要使用的 kubeconfig 文件的路径。
391390
</p></td>
392391
</tr>
393392

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+
394408
<tr>
395409
<td colspan="2">--match-server-version</td>
396410
</tr>
397411
<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>
399414
<!--
400415
Require server version to match client version
401416
-->

0 commit comments

Comments
 (0)