From 2b6b6cfa504ab5c6ea123f77835cc9c1abad3ff6 Mon Sep 17 00:00:00 2001 From: Guangwen Feng Date: Tue, 23 Nov 2021 15:01:58 +0800 Subject: [PATCH] [zh] Update kubectl.md Signed-off-by: Guangwen Feng --- content/zh/docs/reference/kubectl/kubectl.md | 32 ++++++++++++++++++++ data/i18n/zh/zh.toml | 3 ++ 2 files changed, 35 insertions(+) diff --git a/content/zh/docs/reference/kubectl/kubectl.md b/content/zh/docs/reference/kubectl/kubectl.md index f6656feccc12e..612c3d9cf1374 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 dcf32839f820c..55ce241bb0c9e 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 = "示例"