From a2ed0d27f45f853d444a5e90b0822867b0bf9848 Mon Sep 17 00:00:00 2001 From: Jimmy Song Date: Sun, 1 Oct 2017 23:28:48 +0800 Subject: [PATCH] fix typo and remove meta header --- .../configuration/manage-compute-resources-container.md | 4 ---- cn/docs/concepts/configuration/secret.md | 5 ----- cn/docs/concepts/workloads/pods/pod-lifecycle.md | 6 +----- cn/docs/user-guide/docker-cli-to-kubectl.md | 6 +----- cn/docs/user-guide/jsonpath.md | 4 ---- 5 files changed, 2 insertions(+), 23 deletions(-) diff --git a/cn/docs/concepts/configuration/manage-compute-resources-container.md b/cn/docs/concepts/configuration/manage-compute-resources-container.md index 6e092706bf..95ec325ff4 100644 --- a/cn/docs/concepts/configuration/manage-compute-resources-container.md +++ b/cn/docs/concepts/configuration/manage-compute-resources-container.md @@ -1,9 +1,5 @@ --- title: Managing Compute Resources for Containers -cn-approvers: -- rootsongjc -cn-reviewers: -- shirdrn --- {% capture overview %} diff --git a/cn/docs/concepts/configuration/secret.md b/cn/docs/concepts/configuration/secret.md index 5b86b9cbb6..f1d9d9e38f 100644 --- a/cn/docs/concepts/configuration/secret.md +++ b/cn/docs/concepts/configuration/secret.md @@ -1,11 +1,6 @@ --- approvers: - mikedanese -cn-approvers: -- rootsongjc -cn-reviewers: -- markthink -- xuyuan02965 title: Secret --- diff --git a/cn/docs/concepts/workloads/pods/pod-lifecycle.md b/cn/docs/concepts/workloads/pods/pod-lifecycle.md index 1fd690b97a..07ca2b5b47 100644 --- a/cn/docs/concepts/workloads/pods/pod-lifecycle.md +++ b/cn/docs/concepts/workloads/pods/pod-lifecycle.md @@ -3,10 +3,6 @@ title: Pod 生命周期 redirect_from: - "/docs/user-guide/pod-states/" - "/docs/user-guide/pod-states.html" -cn-approvers: -- rootsongjc -cn-reviewers: -- zjj2wry --- {% capture overview %} @@ -24,7 +20,7 @@ cn-reviewers: Pod 的 `status` 定义在 [PodStatus](/docs/resources-reference/v1.7/#podstatus-v1-core) 对象中,其中有一个 `phase` 字段。 -Pod 的相位(phase)是 Pod 在其生命周期中的简单宏观概述。该阶段并不是对容器或 Pod 的综合汇总,也不是为了做为综合状态机。 +Pod 的运行阶段(phase)是 Pod 在其生命周期中的简单宏观概述。该阶段并不是对容器或 Pod 的综合汇总,也不是为了做为综合状态机。 Pod 相位的数量和含义是严格指定的。除了本文档中列举的内容外,不应该再假定 Pod 有其他的 `phase` 值。 diff --git a/cn/docs/user-guide/docker-cli-to-kubectl.md b/cn/docs/user-guide/docker-cli-to-kubectl.md index 1580401f8b..0f0e30d93b 100644 --- a/cn/docs/user-guide/docker-cli-to-kubectl.md +++ b/cn/docs/user-guide/docker-cli-to-kubectl.md @@ -3,10 +3,6 @@ approvers: - bgrant0607 - brendandburns - thockin -cn-approvers: -- rootsongjc -cn-reviewers: -- Jimexist title: Docker 用户使用 kubectl 命令指南 --- @@ -37,7 +33,7 @@ $ kubectl run --image=nginx nginx-app --port=80 --env="DOMAIN=cluster" deployment "nginx-app" created ``` -在大于等于 1.2 版本 Kubernetes 集群中,使用`kubectl run` 命令将创建一个名为 "nginx-app" 的 Deployment。如果您运行的是老版本,将会创建一个 replication controller。 +在 1.2 及以上版本的 Kubernetes 集群中,使用`kubectl run` 命令将创建一个名为 "nginx-app" 的 Deployment。如果您运行的是老版本,将会创建一个 replication controller。 如果您想沿用旧的行为,使用 `--generation=run/v1` 参数,这样就会创建 replication controller。查看 [`kubectl run`](/docs/user-guide/kubectl/{{page.version}}/#run) 获取更多详细信息。 ```shell diff --git a/cn/docs/user-guide/jsonpath.md b/cn/docs/user-guide/jsonpath.md index 51cdc2d49f..e85041951c 100644 --- a/cn/docs/user-guide/jsonpath.md +++ b/cn/docs/user-guide/jsonpath.md @@ -1,9 +1,5 @@ --- title: JSONPath 支持 -cn-approvers: -- rootsongjc -cn-reviewers: -- rootsongjc --- JSONPath 模板由 {} 包起来的 JSONPath 表达式组成。