Skip to content

Commit f1096cb

Browse files
committed
[zh-cn]sync kubectl_scale/_index.md
Signed-off-by: xin.li <xin.li@daocloud.io>
1 parent 57cbefb commit f1096cb

File tree

1 file changed

+57
-45
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_scale

1 file changed

+57
-45
lines changed

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

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ Process the kustomization directory. This flag can't be used together with -f or
175175
<td colspan="2">-o, --output string</td>
176176
</tr>
177177
<tr>
178-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
178+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
179+
<p>
179180
<!--
180181
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
181182
-->
@@ -189,7 +190,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
189190
<td colspan="2">-R, --recursive</td>
190191
</tr>
191192
<tr>
192-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
193+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
194+
<p>
193195
<!--
194196
Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory.
195197
-->
@@ -202,7 +204,8 @@ Process the directory used in -f, --filename recursively. Useful when you want t
202204
<td colspan="2">--replicas int</td>
203205
</tr>
204206
<tr>
205-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
207+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
208+
<p>
206209
<!--
207210
The new desired number of replicas. Required.
208211
-->
@@ -215,7 +218,8 @@ The new desired number of replicas. Required.
215218
<td colspan="2">--resource-version string</td>
216219
</tr>
217220
<tr>
218-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
221+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
222+
<p>
219223
<!--
220224
Precondition for resource version. Requires that the current resource version match this value in order to scale.
221225
-->
@@ -228,7 +232,8 @@ Precondition for resource version. Requires that the current resource version ma
228232
<td colspan="2">-l, --selector string</td>
229233
</tr>
230234
<tr>
231-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
235+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
236+
<p>
232237
<!--
233238
Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.
234239
-->
@@ -243,7 +248,8 @@ Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.
243248
<td colspan="2">--show-managed-fields</td>
244249
</tr>
245250
<tr>
246-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
251+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
252+
<p>
247253
<!--
248254
If true, keep the managedFields when printing objects in JSON or YAML format.
249255
-->
@@ -255,7 +261,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
255261
<td colspan="2">--template string</td>
256262
</tr>
257263
<tr>
258-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
264+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
265+
<p>
259266
<!--
260267
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].
261268
-->
@@ -269,7 +276,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
269276
<td colspan="2">--timeout duration</td>
270277
</tr>
271278
<tr>
272-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
279+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
280+
<p>
273281
<!--
274282
The length of time to wait before giving up on a scale operation, zero means don't wait. Any other values should contain a corresponding time unit (e.g. 1s, 2m, 3h).
275283
-->
@@ -295,7 +303,8 @@ The length of time to wait before giving up on a scale operation, zero means don
295303
<td colspan="2">--as string</td>
296304
</tr>
297305
<tr>
298-
<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>
299308
<!--
300309
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
301310
-->
@@ -307,7 +316,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
307316
<td colspan="2">--as-group strings</td>
308317
</tr>
309318
<tr>
310-
<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>
311321
<!--
312322
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
313323
-->
@@ -319,7 +329,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
319329
<td colspan="2">--as-uid string</td>
320330
</tr>
321331
<tr>
322-
<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>
323334
<!--
324335
UID to impersonate for the operation.
325336
-->
@@ -331,7 +342,8 @@ UID to impersonate for the operation.
331342
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
332343
</tr>
333344
<tr>
334-
<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>
335347
<!--
336348
Default cache directory
337349
-->
@@ -343,7 +355,8 @@ Default cache directory
343355
<td colspan="2">--certificate-authority string</td>
344356
</tr>
345357
<tr>
346-
<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>
347360
<!--
348361
Path to a cert file for the certificate authority
349362
-->
@@ -355,7 +368,8 @@ Path to a cert file for the certificate authority
355368
<td colspan="2">--client-certificate string</td>
356369
</tr>
357370
<tr>
358-
<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>
359373
<!--
360374
Path to a client certificate file for TLS
361375
-->
@@ -367,7 +381,8 @@ TLS 客户端证书文件的路径。
367381
<td colspan="2">--client-key string</td>
368382
</tr>
369383
<tr>
370-
<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>
371386
<!--
372387
Path to a client key file for TLS
373388
-->
@@ -379,7 +394,8 @@ TLS 客户端密钥文件的路径。
379394
<td colspan="2">--cluster string</td>
380395
</tr>
381396
<tr>
382-
<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>
383399
<!--
384400
The name of the kubeconfig cluster to use
385401
-->
@@ -391,43 +407,21 @@ The name of the kubeconfig cluster to use
391407
<td colspan="2">--context string</td>
392408
</tr>
393409
<tr>
394-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
410+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
411+
<p>
395412
<!--
396413
The name of the kubeconfig context to use
397414
-->
398415
要使用的 kubeconfig 上下文的名称。
399416
</p></td>
400417
</tr>
401418

402-
<tr>
403-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
404-
</tr>
405-
<tr>
406-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
407-
<!--
408-
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.
409-
-->
410-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
411-
</p></td>
412-
</tr>
413-
414-
<tr>
415-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
416-
</tr>
417-
<tr>
418-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
419-
<!--
420-
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.
421-
-->
422-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
423-
</p></td>
424-
</tr>
425-
426419
<tr>
427420
<td colspan="2">--disable-compression</td>
428421
</tr>
429422
<tr>
430-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
423+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
424+
<p>
431425
<!--
432426
If true, opt-out of response compression for all requests to the server
433427
-->
@@ -439,7 +433,8 @@ If true, opt-out of response compression for all requests to the server
439433
<td colspan="2">--insecure-skip-tls-verify</td>
440434
</tr>
441435
<tr>
442-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
436+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
437+
<p>
443438
<!--
444439
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
445440
-->
@@ -451,19 +446,36 @@ If true, the server's certificate will not be checked for validity. This will ma
451446
<td colspan="2">--kubeconfig string</td>
452447
</tr>
453448
<tr>
454-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
449+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
450+
<p>
455451
<!--
456452
Path to the kubeconfig file to use for CLI requests.
457453
-->
458454
CLI 请求要使用的 kubeconfig 文件的路径。
459455
</p></td>
460456
</tr>
461457

458+
<tr>
459+
<td colspan="2">--kuberc string</td>
460+
</tr>
461+
<tr>
462+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
463+
<p>
464+
<!--
465+
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.
466+
-->
467+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
468+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
469+
</p>
470+
</td>
471+
</tr>
472+
462473
<tr>
463474
<td colspan="2">--match-server-version</td>
464475
</tr>
465476
<tr>
466-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
477+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
478+
<p>
467479
<!--
468480
Require server version to match client version
469481
-->

0 commit comments

Comments
 (0)