Merge pull request #27003 from buptliuwei/patch-4

fixed  demo deployment create command
pull/27250/head
Kubernetes Prow Robot 2021-03-27 02:04:44 -07:00 committed by GitHub
commit 10d741d22b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ Kubernetes 集群中运行的应用通过 Service 抽象来互相查找、通信
你必须拥有一个正常工作的 Kubernetes 1.5 集群来运行此文档中的示例。该示例使用一个简单的 nginx webserver通过一个HTTP消息头返回它接收到请求的源IP。你可以像下面这样创建它
```console
kubectl run source-ip-app --image=k8s.gcr.io/echoserver:1.4
kubectl create deployment source-ip-app --image=k8s.gcr.io/echoserver:1.4
```
输出结果为
```