fix typo and remove meta header
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
---
|
||||
title: Managing Compute Resources for Containers
|
||||
cn-approvers:
|
||||
- rootsongjc
|
||||
cn-reviewers:
|
||||
- shirdrn
|
||||
---
|
||||
|
||||
{% capture overview %}
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
---
|
||||
approvers:
|
||||
- mikedanese
|
||||
cn-approvers:
|
||||
- rootsongjc
|
||||
cn-reviewers:
|
||||
- markthink
|
||||
- xuyuan02965
|
||||
title: Secret
|
||||
---
|
||||
|
||||
|
||||
@@ -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` 值。
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
---
|
||||
title: JSONPath 支持
|
||||
cn-approvers:
|
||||
- rootsongjc
|
||||
cn-reviewers:
|
||||
- rootsongjc
|
||||
---
|
||||
|
||||
JSONPath 模板由 {} 包起来的 JSONPath 表达式组成。
|
||||
|
||||
Reference in New Issue
Block a user