Skip to content

Commit

Permalink
Merge pull request #30603 from fenggw-fnst/update-kubectl
Browse files Browse the repository at this point in the history
[zh] Update kubectl.md
  • Loading branch information
k8s-ci-robot authored Nov 24, 2021
2 parents 8c5c7de + 2b6b6cf commit 38459dc
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
32 changes: 32 additions & 0 deletions content/zh/docs/reference/kubectl/kubectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,41 @@ kubectl [flags]
</tbody>
</table>

## {{% heading "envvars" %}}

<table style="width: 100%; table-layout: fixed;">
<colgroup>
<col span="1" style="width: 10px;" />
<col span="1" />
</colgroup>
<tbody>

<tr>
<td colspan="2">KUBECONFIG</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Path to the kubectl configuration ("kubeconfig") file. Default: "$HOME/.kube/config"
-->
kubectl 的配置 ("kubeconfig") 文件的路径。默认值: "$HOME/.kube/config"
</td>
</tr>

<tr>
<td colspan="2">KUBECTL_COMMAND_HEADERS</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
When set to false, turns off extra HTTP headers detailing invoked kubectl command (Kubernetes version v1.22 or later)
-->
设置为 false 时,关闭用于详细说明被调用的 kubectl 命令的额外 HTTP 标头 (Kubernetes 版本为 v1.22 或者更高)
</td>
</tr>

</tbody>
</table>

## {{% heading "seealso" %}}

Expand Down
3 changes: 3 additions & 0 deletions data/i18n/zh/zh.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ other = "我是..."
[docs_label_users]
other = "用户"

[envvars_heading]
other = "环境变量"

[examples_heading]
other = "示例"

Expand Down

0 comments on commit 38459dc

Please sign in to comment.