fix command kubectl get deployment,svc,pods output
reviewable/pr3125/r1^2
chenhuan12 2017-03-30 19:33:34 +08:00 committed by Jared
parent 054d08df96
commit b7f4a612a4
1 changed files with 15 additions and 13 deletions

View File

@ -205,19 +205,21 @@ INFO[0001] Successfully created deployment: frontend
Your application has been deployed to Kubernetes. You can run 'kubectl get deployment,svc,pods' for details. Your application has been deployed to Kubernetes. You can run 'kubectl get deployment,svc,pods' for details.
$ kubectl get deployment,svc,pods $ kubectl get deployment,svc,pods
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
frontend 1 1 1 1 4m deploy/frontend 1 1 1 1 4m
redis-master 1 1 1 1 4m deploy/redis-master 1 1 1 1 4m
redis-slave 1 1 1 1 4m deploy/redis-slave 1 1 1 1 4m
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
frontend 10.0.174.12 <none> 80/TCP 4m NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes 10.0.0.1 <none> 443/TCP 13d svc/frontend 10.0.174.12 <none> 80/TCP 4m
redis-master 10.0.202.43 <none> 6379/TCP 4m svc/kubernetes 10.0.0.1 <none> 443/TCP 13d
redis-slave 10.0.1.85 <none> 6379/TCP 4m svc/redis-master 10.0.202.43 <none> 6379/TCP 4m
NAME READY STATUS RESTARTS AGE svc/redis-slave 10.0.1.85 <none> 6379/TCP 4m
frontend-2768218532-cs5t5 1/1 Running 0 4m
redis-master-1432129712-63jn8 1/1 Running 0 4m NAME READY STATUS RESTARTS AGE
redis-slave-2504961300-nve7b 1/1 Running 0 4m po/frontend-2768218532-cs5t5 1/1 Running 0 4m
po/redis-master-1432129712-63jn8 1/1 Running 0 4m
po/redis-slave-2504961300-nve7b 1/1 Running 0 4m
``` ```
Note: Note: