Skip to content

Commit dade7d3

Browse files
committed
[zh-cn]sync kubectl_config_view.md
Signed-off-by: xin.li <[email protected]>
1 parent 57cbefb commit dade7d3

File tree

1 file changed

+57
-45
lines changed

1 file changed

+57
-45
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_config/kubectl_config_view.md

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
188188
<td colspan="2">--as string</td>
189189
</tr>
190190
<tr>
191-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
191+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
192+
<p>
192193
<!--
193194
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
194195
-->
@@ -200,7 +201,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
200201
<td colspan="2">--as-group strings</td>
201202
</tr>
202203
<tr>
203-
<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>
204206
<!--
205207
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
206208
-->
@@ -212,7 +214,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
212214
<td colspan="2">--as-uid string</td>
213215
</tr>
214216
<tr>
215-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
217+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
218+
<p>
216219
<!--
217220
UID to impersonate for the operation.
218221
-->
@@ -224,7 +227,8 @@ UID to impersonate for the operation.
224227
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
225228
</tr>
226229
<tr>
227-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
230+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
231+
<p>
228232
<!--
229233
Default cache directory
230234
-->
@@ -236,7 +240,8 @@ Default cache directory
236240
<td colspan="2">--certificate-authority string</td>
237241
</tr>
238242
<tr>
239-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
243+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
244+
<p>
240245
<!--
241246
Path to a cert file for the certificate authority
242247
-->
@@ -248,7 +253,8 @@ Path to a cert file for the certificate authority
248253
<td colspan="2">--client-certificate string</td>
249254
</tr>
250255
<tr>
251-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
256+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
257+
<p>
252258
<!--
253259
Path to a client certificate file for TLS
254260
-->
@@ -260,7 +266,8 @@ TLS 客户端证书文件的路径。
260266
<td colspan="2">--client-key string</td>
261267
</tr>
262268
<tr>
263-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
269+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
270+
<p>
264271
<!--
265272
Path to a client key file for TLS
266273
-->
@@ -272,7 +279,8 @@ TLS 客户端密钥文件的路径。
272279
<td colspan="2">--cluster string</td>
273280
</tr>
274281
<tr>
275-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
282+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
283+
<p>
276284
<!--
277285
The name of the kubeconfig cluster to use
278286
-->
@@ -284,43 +292,21 @@ The name of the kubeconfig cluster to use
284292
<td colspan="2">--context string</td>
285293
</tr>
286294
<tr>
287-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
295+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
296+
<p>
288297
<!--
289298
The name of the kubeconfig context to use
290299
-->
291300
要使用的 kubeconfig 上下文的名称。
292301
</p></td>
293302
</tr>
294303

295-
<tr>
296-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
297-
</tr>
298-
<tr>
299-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
300-
<!--
301-
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.
302-
-->
303-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
304-
</p></td>
305-
</tr>
306-
307-
<tr>
308-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
309-
</tr>
310-
<tr>
311-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
312-
<!--
313-
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.
314-
-->
315-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
316-
</p></td>
317-
</tr>
318-
319304
<tr>
320305
<td colspan="2">--disable-compression</td>
321306
</tr>
322307
<tr>
323-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
308+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
309+
<p>
324310
<!--
325311
If true, opt-out of response compression for all requests to the server
326312
-->
@@ -332,7 +318,8 @@ If true, opt-out of response compression for all requests to the server
332318
<td colspan="2">--insecure-skip-tls-verify</td>
333319
</tr>
334320
<tr>
335-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
321+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
322+
<p>
336323
<!--
337324
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
338325
-->
@@ -344,19 +331,36 @@ If true, the server's certificate will not be checked for validity. This will ma
344331
<td colspan="2">--kubeconfig string</td>
345332
</tr>
346333
<tr>
347-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
334+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
335+
<p>
348336
<!--
349337
Path to the kubeconfig file to use for CLI requests.
350338
-->
351339
CLI 请求要使用的 kubeconfig 文件的路径。
352340
</p></td>
353341
</tr>
354342

343+
<tr>
344+
<td colspan="2">--kuberc string</td>
345+
</tr>
346+
<tr>
347+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
348+
<p>
349+
<!--
350+
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.
351+
-->
352+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
353+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
354+
</p>
355+
</td>
356+
</tr>
357+
355358
<tr>
356359
<td colspan="2">--match-server-version</td>
357360
</tr>
358361
<tr>
359-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
362+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
363+
<p>
360364
<!--
361365
Require server version to match client version
362366
-->
@@ -368,7 +372,8 @@ Require server version to match client version
368372
<td colspan="2">-n, --namespace string</td>
369373
</tr>
370374
<tr>
371-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
375+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
376+
<p>
372377
<!--
373378
If present, the namespace scope for this CLI request
374379
-->
@@ -380,7 +385,8 @@ If present, the namespace scope for this CLI request
380385
<td colspan="2">--password string</td>
381386
</tr>
382387
<tr>
383-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
388+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
389+
<p>
384390
<!--
385391
Password for basic authentication to the API server
386392
-->
@@ -392,7 +398,8 @@ Password for basic authentication to the API server
392398
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
393399
</tr>
394400
<tr>
395-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
401+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
402+
<p>
396403
<!--
397404
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
398405
-->
@@ -404,7 +411,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
404411
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
405412
</tr>
406413
<tr>
407-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
414+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
415+
<p>
408416
<!--
409417
Name of the file to write the profile to
410418
-->
@@ -416,7 +424,8 @@ Name of the file to write the profile to
416424
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
417425
</tr>
418426
<tr>
419-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
427+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
428+
<p>
420429
<!--
421430
The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.
422431
-->
@@ -429,7 +438,8 @@ The length of time to wait before giving up on a single server request. Non-zero
429438
<td colspan="2">-s, --server string</td>
430439
</tr>
431440
<tr>
432-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
441+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
442+
<p>
433443
<!--
434444
The address and port of the Kubernetes API server
435445
-->
@@ -441,7 +451,8 @@ Kubernetes API 服务器的地址和端口。
441451
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
442452
</tr>
443453
<tr>
444-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
454+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
455+
<p>
445456
<!--
446457
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
447458
-->
@@ -453,7 +464,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
453464
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
454465
</tr>
455466
<tr>
456-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
467+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
468+
<p>
457469
<!--
458470
database name
459471
-->

0 commit comments

Comments
 (0)