Skip to content

Commit

Permalink
separate commands from output (#5718)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhonggc authored and zacharysarah committed Oct 2, 2017
1 parent 650e84e commit 5302656
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5302656

Please sign in to comment.