parent
4302fc7b13
commit
51f39b6554
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue