File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
content/zh/docs/reference/kubectl Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -488,9 +488,41 @@ kubectl [flags]
488
488
</tbody >
489
489
</table >
490
490
491
+ ## {{% heading "envvars" %}}
491
492
493
+ <table style =" width : 100% ; table-layout : fixed ;" >
494
+ <colgroup >
495
+ <col span =" 1 " style =" width : 10px ;" />
496
+ <col span =" 1 " />
497
+ </colgroup >
498
+ <tbody >
492
499
500
+ <tr >
501
+ <td colspan =" 2 " >KUBECONFIG</td >
502
+ </tr >
503
+ <tr >
504
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
505
+ <!--
506
+ Path to the kubectl configuration ("kubeconfig") file. Default: "$HOME/.kube/config"
507
+ -->
508
+ kubectl 的配置 ("kubeconfig") 文件的路径。默认值: "$HOME/.kube/config"
509
+ </td >
510
+ </tr >
493
511
512
+ <tr >
513
+ <td colspan =" 2 " >KUBECTL_COMMAND_HEADERS</td >
514
+ </tr >
515
+ <tr >
516
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
517
+ <!--
518
+ When set to false, turns off extra HTTP headers detailing invoked kubectl command (Kubernetes version v1.22 or later)
519
+ -->
520
+ 设置为 false 时,关闭用于详细说明被调用的 kubectl 命令的额外 HTTP 标头 (Kubernetes 版本为 v1.22 或者更高)
521
+ </td >
522
+ </tr >
523
+
524
+ </tbody >
525
+ </table >
494
526
495
527
## {{% heading "seealso" %}}
496
528
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ other = "我是..."
49
49
[docs_label_users ]
50
50
other = " 用户"
51
51
52
+ [envvars_heading ]
53
+ other = " 环境变量"
54
+
52
55
[examples_heading ]
53
56
other = " 示例"
54
57
You can’t perform that action at this time.
0 commit comments