fix the command output (#9958)

I have verified on version v1.11
This commit is contained in:
tanshanshan 2018-08-21 22:32:12 +08:00 committed by k8s-ci-robot
parent 4302fc7b13
commit 51f39b6554
1 changed files with 3 additions and 3 deletions

View File

@ -182,7 +182,7 @@ This Pod can be started and debugged with the following commands:
```shell ```shell
$ kubectl create -f myapp.yaml $ kubectl create -f myapp.yaml
pod "myapp-pod" created pod/myapp-pod created
$ kubectl get -f myapp.yaml $ kubectl get -f myapp.yaml
NAME READY STATUS RESTARTS AGE NAME READY STATUS RESTARTS AGE
myapp-pod 0/1 Init:0/2 0 6m myapp-pod 0/1 Init:0/2 0 6m
@ -228,8 +228,8 @@ complete and the `myapp-pod` is created:
```shell ```shell
$ kubectl create -f services.yaml $ kubectl create -f services.yaml
service "myservice" created service/myservice created
service "mydb" created service/mydb created
$ kubectl get -f myapp.yaml $ kubectl get -f myapp.yaml
NAME READY STATUS RESTARTS AGE NAME READY STATUS RESTARTS AGE
myapp-pod 1/1 Running 0 9m myapp-pod 1/1 Running 0 9m