fix the command output (#9697)

fix the command output
This commit is contained in:
chenhuan 2018-08-01 10:16:39 +08:00 committed by k8s-ci-robot
parent 75a0e41a99
commit c83bf5fd38
1 changed files with 8 additions and 8 deletions

View File

@ -28,10 +28,10 @@ Kubernetes cluster.
The output is similar to this:
```shell
NAME STATUS AGE VERSION
worker0 Ready 1d v1.6.0+fff5156
worker1 Ready 1d v1.6.0+fff5156
worker2 Ready 1d v1.6.0+fff5156
NAME STATUS ROLES AGE VERSION
worker0 Ready <none> 1d v1.11.1
worker1 Ready <none> 1d v1.11.1
worker2 Ready <none> 1d v1.11.1
```
1. Chose one of your nodes, and add a label to it:
@ -50,10 +50,10 @@ Kubernetes cluster.
The output is similar to this:
```shell
NAME STATUS AGE VERSION LABELS
worker0 Ready 1d v1.6.0+fff5156 ...,disktype=ssd,kubernetes.io/hostname=worker0
worker1 Ready 1d v1.6.0+fff5156 ...,kubernetes.io/hostname=worker1
worker2 Ready 1d v1.6.0+fff5156 ...,kubernetes.io/hostname=worker2
NAME STATUS ROLES AGE VERSION LABELS
worker0 Ready <none> 1d v1.11.1 ...,disktype=ssd,kubernetes.io/hostname=worker0
worker1 Ready <none> 1d v1.11.1 ...,kubernetes.io/hostname=worker1
worker2 Ready <none> 1d v1.11.1 ...,kubernetes.io/hostname=worker2
```
In the preceding output, you can see that the `worker0` node has a