Skip to content

Commit 053dac9

Browse files
committed
[zh-cn]sync kubectl_create_poddisruptionbudget.md
Signed-off-by: xin.li <[email protected]>
1 parent 84637c4 commit 053dac9

File tree

1 file changed

+56
-45
lines changed

1 file changed

+56
-45
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_create/kubectl_create_poddisruptionbudget.md

Lines changed: 56 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ The minimum number or percentage of available pods this budget requires.
135135
<td colspan="2">-o, --output string</td>
136136
</tr>
137137
<tr>
138-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
138+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
139+
<p>
139140
<!--
140141
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
141142
-->
@@ -148,7 +149,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
148149
<td colspan="2">--save-config</td>
149150
</tr>
150151
<tr>
151-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
152+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
153+
<p>
152154
<!--
153155
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.
154156
-->
@@ -161,7 +163,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
161163
<td colspan="2">--selector string</td>
162164
</tr>
163165
<tr>
164-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
166+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
167+
<p>
165168
<!--
166169
A label selector to use for this budget. Only equality-based selector requirements are supported.
167170
-->
@@ -173,7 +176,8 @@ A label selector to use for this budget. Only equality-based selector requiremen
173176
<td colspan="2">--show-managed-fields</td>
174177
</tr>
175178
<tr>
176-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
179+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
180+
<p>
177181
<!--
178182
If true, keep the managedFields when printing objects in JSON or YAML format.
179183
-->
@@ -185,7 +189,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
185189
<td colspan="2">--template string</td>
186190
</tr>
187191
<tr>
188-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
192+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
193+
<p>
189194
<!--
190195
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].
191196
-->
@@ -198,7 +203,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
198203
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
199204
</tr>
200205
<tr>
201-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
206+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
207+
<p>
202208
<!--
203209
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; 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. &quot;warn&quot; 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 &quot;ignore&quot; otherwise. &quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
204210
-->
@@ -217,7 +223,7 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
217223

218224
## {{% heading "parentoptions" %}}
219225

220-
<table style="width: 100%; table-layout: fixed;">
226+
<table style="width: 100%; table-layout: fixed;">
221227
<colgroup>
222228
<col span="1" style="width: 10px;" />
223229
<col span="1" />
@@ -228,7 +234,8 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
228234
<td colspan="2">--as string</td>
229235
</tr>
230236
<tr>
231-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
237+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
238+
<p>
232239
<!--
233240
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
234241
-->
@@ -240,7 +247,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
240247
<td colspan="2">--as-group strings</td>
241248
</tr>
242249
<tr>
243-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
250+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
251+
<p>
244252
<!--
245253
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
246254
-->
@@ -252,7 +260,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
252260
<td colspan="2">--as-uid string</td>
253261
</tr>
254262
<tr>
255-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
263+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
264+
<p>
256265
<!--
257266
UID to impersonate for the operation.
258267
-->
@@ -264,7 +273,8 @@ UID to impersonate for the operation.
264273
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
265274
</tr>
266275
<tr>
267-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
276+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
277+
<p>
268278
<!--
269279
Default cache directory
270280
-->
@@ -276,7 +286,8 @@ Default cache directory
276286
<td colspan="2">--certificate-authority string</td>
277287
</tr>
278288
<tr>
279-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
289+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
290+
<p>
280291
<!--
281292
Path to a cert file for the certificate authority
282293
-->
@@ -288,7 +299,8 @@ Path to a cert file for the certificate authority
288299
<td colspan="2">--client-certificate string</td>
289300
</tr>
290301
<tr>
291-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
302+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
303+
<p>
292304
<!--
293305
Path to a client certificate file for TLS
294306
-->
@@ -300,7 +312,8 @@ TLS 客户端证书文件的路径。
300312
<td colspan="2">--client-key string</td>
301313
</tr>
302314
<tr>
303-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
315+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
316+
<p>
304317
<!--
305318
Path to a client key file for TLS
306319
-->
@@ -312,7 +325,8 @@ TLS 客户端密钥文件的路径。
312325
<td colspan="2">--cluster string</td>
313326
</tr>
314327
<tr>
315-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
328+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
329+
<p>
316330
<!--
317331
The name of the kubeconfig cluster to use
318332
-->
@@ -324,43 +338,21 @@ The name of the kubeconfig cluster to use
324338
<td colspan="2">--context string</td>
325339
</tr>
326340
<tr>
327-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
341+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
342+
<p>
328343
<!--
329344
The name of the kubeconfig context to use
330345
-->
331346
要使用的 kubeconfig 上下文的名称。
332347
</p></td>
333348
</tr>
334349

335-
<tr>
336-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
337-
</tr>
338-
<tr>
339-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
340-
<!--
341-
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.
342-
-->
343-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
344-
</p></td>
345-
</tr>
346-
347-
<tr>
348-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
349-
</tr>
350-
<tr>
351-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
352-
<!--
353-
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.
354-
-->
355-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
356-
</p></td>
357-
</tr>
358-
359350
<tr>
360351
<td colspan="2">--disable-compression</td>
361352
</tr>
362353
<tr>
363-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
354+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
355+
<p>
364356
<!--
365357
If true, opt-out of response compression for all requests to the server
366358
-->
@@ -372,7 +364,8 @@ If true, opt-out of response compression for all requests to the server
372364
<td colspan="2">--insecure-skip-tls-verify</td>
373365
</tr>
374366
<tr>
375-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
367+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
368+
<p>
376369
<!--
377370
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
378371
-->
@@ -384,19 +377,36 @@ If true, the server's certificate will not be checked for validity. This will ma
384377
<td colspan="2">--kubeconfig string</td>
385378
</tr>
386379
<tr>
387-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
380+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
381+
<p>
388382
<!--
389383
Path to the kubeconfig file to use for CLI requests.
390384
-->
391385
CLI 请求要使用的 kubeconfig 文件的路径。
392386
</p></td>
393387
</tr>
394388

389+
<tr>
390+
<td colspan="2">--kuberc string</td>
391+
</tr>
392+
<tr>
393+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
394+
<p>
395+
<!--
396+
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.
397+
-->
398+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
399+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
400+
</p>
401+
</td>
402+
</tr>
403+
395404
<tr>
396405
<td colspan="2">--match-server-version</td>
397406
</tr>
398407
<tr>
399-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
408+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
409+
<p>
400410
<!--
401411
Require server version to match client version
402412
-->
@@ -408,7 +418,8 @@ Require server version to match client version
408418
<td colspan="2">-n, --namespace string</td>
409419
</tr>
410420
<tr>
411-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
421+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
422+
<p>
412423
<!--
413424
If present, the namespace scope for this CLI request
414425
-->

0 commit comments

Comments
 (0)