add zh pages
This commit is contained in:
@@ -4,7 +4,7 @@ reviewers:
|
||||
- erictune
|
||||
- krousey
|
||||
- clove
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
card:
|
||||
name: reference
|
||||
weight: 30
|
||||
@@ -15,13 +15,13 @@ reviewers:
|
||||
- erictune
|
||||
- krousey
|
||||
- clove
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
card:
|
||||
name: reference
|
||||
weight: 30
|
||||
--- -->
|
||||
|
||||
{{% capture overview %}}
|
||||
<!-- overview -->
|
||||
|
||||
<!-- See also: [Kubectl Overview](/docs/reference/kubectl/overview/) and [JsonPath Guide](/docs/reference/kubectl/jsonpath). -->
|
||||
也可以看下: [Kubectl 概述](/docs/reference/kubectl/overview/) 和 [JsonPath 指南](/docs/reference/kubectl/jsonpath)。
|
||||
@@ -29,9 +29,9 @@ card:
|
||||
<!-- This page is an overview of the `kubectl` command. -->
|
||||
本页面是 `kubectl` 命令的概述。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture body %}}
|
||||
|
||||
<!-- body -->
|
||||
|
||||
<!-- # kubectl - Cheat Sheet -->
|
||||
## kubectl - 备忘单
|
||||
@@ -657,9 +657,10 @@ Kubectl 日志输出详细程度是通过 `-v` 或者 `--v` 来控制的,参
|
||||
`--v=8` | 显示 HTTP 请求内容。
|
||||
`--v=9` | 显示 HTTP 请求内容而不截断内容。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture whatsnext %}}
|
||||
|
||||
## {{% heading "whatsnext" %}}
|
||||
|
||||
|
||||
<!-- * Learn more about [Overview of kubectl](/docs/reference/kubectl/overview/).
|
||||
|
||||
@@ -676,4 +677,4 @@ Kubectl 日志输出详细程度是通过 `-v` 或者 `--v` 来控制的,参
|
||||
|
||||
* 查看更多社区 [kubectl 备忘单](https://github.com/dennyzhang/cheatsheet-kubernetes-A4)。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: kubectl 的用法约定
|
||||
reviewers:
|
||||
- janetkuo
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
---
|
||||
|
||||
<!--
|
||||
@@ -10,18 +10,18 @@ content_template: templates/concept
|
||||
title: kubectl Usage Conventions
|
||||
reviewers:
|
||||
- janetkuo
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
---
|
||||
-->
|
||||
|
||||
{{% capture overview %}}
|
||||
<!-- overview -->
|
||||
<!--
|
||||
Recommended usage conventions for `kubectl`.
|
||||
-->
|
||||
`kubectl` 的推荐用法约定
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture body %}}
|
||||
|
||||
<!-- body -->
|
||||
|
||||
<!--
|
||||
## Using `kubectl` in Reusable Scripts
|
||||
@@ -157,4 +157,4 @@ You can use the `--dry-run` flag to preview the object that would be sent to you
|
||||
|
||||
* 您可以使用 `kubectl apply` 命令创建或更新资源。有关使用 kubectl apply 更新资源的详细信息,请参阅 [Kubectl 文档](https://kubectl.docs.kubernetes.io)。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 适用于 Docker 用户的 kubectl
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
reviewers:
|
||||
- brendandburns
|
||||
- thockin
|
||||
@@ -8,21 +8,21 @@ reviewers:
|
||||
<!--
|
||||
---
|
||||
title: kubectl for Docker Users
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
reviewers:
|
||||
- brendandburns
|
||||
- thockin
|
||||
---
|
||||
-->
|
||||
|
||||
{{% capture overview %}}
|
||||
<!-- overview -->
|
||||
<!--
|
||||
You can use the Kubernetes command line tool kubectl to interact with the API Server. Using kubectl is straightforward if you are familiar with the Docker command line tool. However, there are a few differences between the docker commands and the kubectl commands. The following sections show a docker sub-command and describe the equivalent kubectl command.
|
||||
-->
|
||||
您可以使用 Kubernetes 命令行工具 kubectl 与 API 服务器进行交互。如果您熟悉 Docker 命令行工具,则使用 kubectl 非常简单。但是,docker 命令和 kubectl 命令之间有一些区别。以下显示了 docker 子命令,并描述了等效的 kubectl 命令。
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture body %}}
|
||||
|
||||
<!-- body -->
|
||||
## docker run
|
||||
|
||||
<!--
|
||||
@@ -487,4 +487,4 @@ Grafana is running at https://108.59.85.141/api/v1/namespaces/kube-system/servic
|
||||
Heapster is running at https://108.59.85.141/api/v1/namespaces/kube-system/services/monitoring-heapster/proxy
|
||||
InfluxDB is running at https://108.59.85.141/api/v1/namespaces/kube-system/services/monitoring-influxdb/proxy
|
||||
```
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
---
|
||||
title: JSONPath 支持
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
weight: 25
|
||||
---
|
||||
<!--
|
||||
---
|
||||
title: JSONPath Support
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
weight: 25
|
||||
---
|
||||
-->
|
||||
|
||||
{{% capture overview %}}
|
||||
<!-- overview -->
|
||||
<!--
|
||||
Kubectl supports JSONPath template.
|
||||
-->
|
||||
Kubectl 支持 JSONPath 模板。
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture body %}}
|
||||
|
||||
<!-- body -->
|
||||
|
||||
<!--
|
||||
JSONPath template is composed of JSONPath expressions enclosed by curly braces {}.
|
||||
@@ -140,4 +140,4 @@ C:\> kubectl get pods -o=jsonpath="{range .items[*]}{.metadata.name}{'\t'}{.stat
|
||||
C:\> kubectl get pods -o=jsonpath="{range .items[*]}{.metadata.name}{\"\t\"}{.status.startTime}{\"\n\"}{end}"
|
||||
```
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
@@ -11,7 +11,8 @@ weight: 28
|
||||
---
|
||||
-->
|
||||
|
||||
{{% capture synopsis %}}
|
||||
## {{% heading "synopsis" %}}
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
@@ -29,9 +30,10 @@ Find more information at: https://kubernetes.io/docs/reference/kubectl/overview/
|
||||
kubectl [flags]
|
||||
```
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture options %}}
|
||||
|
||||
## {{% heading "options" %}}
|
||||
|
||||
|
||||
<table style="width: 100%; table-layout: fixed;">
|
||||
<colgroup>
|
||||
@@ -513,9 +515,10 @@ kubectl [flags]
|
||||
|
||||
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture seealso %}}
|
||||
|
||||
## {{% heading "seealso" %}}
|
||||
|
||||
|
||||
<!--
|
||||
* [kubectl annotate](/docs/reference/generated/kubectl/kubectl-commands#annotate) - Update the annotations on a resource
|
||||
@@ -622,5 +625,5 @@ kubectl [flags]
|
||||
* [kubectl version](/docs/reference/generated/kubectl/kubectl-commands#version) - 打印客户端和服务器的版本信息
|
||||
* [kubectl wait](/docs/reference/generated/kubectl/kubectl-commands#wait) - 实验性:等待一个或多个资源达到某种状态
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
reviewers:
|
||||
- hw-qiaolei
|
||||
title: kubectl 概述
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
weight: 20
|
||||
card:
|
||||
name: reference
|
||||
@@ -14,7 +14,7 @@ reviewers:
|
||||
- bgrant0607
|
||||
- hw-qiaolei
|
||||
title: Overview of kubectl
|
||||
content_template: templates/concept
|
||||
content_type: concept
|
||||
weight: 20
|
||||
card:
|
||||
name: reference
|
||||
@@ -22,7 +22,7 @@ card:
|
||||
---
|
||||
-->
|
||||
|
||||
{{% capture overview %}}
|
||||
<!-- overview -->
|
||||
|
||||
<!--
|
||||
Kubectl is a command line interface for running commands against Kubernetes clusters. `kubectl` looks for a file named config in the $HOME/.kube directory. You can specify other [kubeconfig](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) files by setting the KUBECONFIG environment variable or by setting the [`--kubeconfig`](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) flag.
|
||||
@@ -34,9 +34,9 @@ This overview covers `kubectl` syntax, describes the command operations, and pro
|
||||
-->
|
||||
本文概述了 `kubectl` 语法和命令操作描述,并提供了常见的示例。有关每个命令的详细信息,包括所有受支持的参数和子命令,请参阅 [kubectl](/docs/reference/generated/kubectl/kubectl-commands/) 参考文档。有关安装说明,请参见 [安装 kubectl](/docs/tasks/kubectl/install/) 。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture body %}}
|
||||
|
||||
<!-- body -->
|
||||
|
||||
<!--
|
||||
## Syntax
|
||||
@@ -909,13 +909,14 @@ To find out more about plugins, take a look at the [example cli plugin](https://
|
||||
-->
|
||||
要了解关于插件的更多信息,请查看[示例 cli 插件](https://github.com/kubernetes/sample-cli-plugin)。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
{{% capture whatsnext %}}
|
||||
|
||||
## {{% heading "whatsnext" %}}
|
||||
|
||||
|
||||
<!--
|
||||
Start using the [kubectl](/docs/reference/generated/kubectl/kubectl-commands/) commands.
|
||||
-->
|
||||
开始使用 [kubectl](/docs/reference/generated/kubectl/kubectl-commands/) 命令。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user