diff --git a/content/zh/docs/reference/kubectl/kubectl.md b/content/zh/docs/reference/kubectl/kubectl.md index f6656feccc..612c3d9cf1 100644 --- a/content/zh/docs/reference/kubectl/kubectl.md +++ b/content/zh/docs/reference/kubectl/kubectl.md @@ -488,9 +488,41 @@ kubectl [flags] +## {{% heading "envvars" %}} + ++++ + + + + + + + + + + + + + + + +
KUBECONFIG
+ +kubectl 的配置 ("kubeconfig") 文件的路径。默认值: "$HOME/.kube/config" +
KUBECTL_COMMAND_HEADERS
+ +设置为 false 时,关闭用于详细说明被调用的 kubectl 命令的额外 HTTP 标头 (Kubernetes 版本为 v1.22 或者更高) +
## {{% heading "seealso" %}} diff --git a/data/i18n/zh/zh.toml b/data/i18n/zh/zh.toml index dcf32839f8..55ce241bb0 100644 --- a/data/i18n/zh/zh.toml +++ b/data/i18n/zh/zh.toml @@ -49,6 +49,9 @@ other = "我是..." [docs_label_users] other = "用户" +[envvars_heading] +other = "环境变量" + [examples_heading] other = "示例"