separate commands from output (#5718)
This commit is contained in:
parent
650e84e0c4
commit
5302656847
|
|
@ -44,6 +44,8 @@ a Deployment that runs the nginx:1.7.9 Docker image:
|
|||
|
||||
kubectl describe deployment nginx-deployment
|
||||
|
||||
The output is similar to this:
|
||||
|
||||
user@computer:~/kubernetes.github.io$ kubectl describe deployment nginx-deployment
|
||||
Name: nginx-deployment
|
||||
Namespace: default
|
||||
|
|
@ -77,6 +79,8 @@ a Deployment that runs the nginx:1.7.9 Docker image:
|
|||
|
||||
kubectl get pods -l app=nginx
|
||||
|
||||
The output is similar to this:
|
||||
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
nginx-deployment-1771418926-7o5ns 1/1 Running 0 16h
|
||||
nginx-deployment-1771418926-r18az 1/1 Running 0 16h
|
||||
|
|
|
|||
Loading…
Reference in New Issue