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