update 1.11 --server-print info (#8870)

* update 1.11 --server-print info

* Copyedit
This commit is contained in:
Juan Vallejo
2018-06-01 18:41:59 -04:00
committed by Misty Linville
parent cac04327ea
commit 7aeb1a2ae2
@@ -203,15 +203,18 @@ submit-queue 610995
This means that for any given resource, the server will return columns and rows relevant to that resource, for the client to print. This means that for any given resource, the server will return columns and rows relevant to that resource, for the client to print.
This allows for consistent human-readable output across clients used against the same cluster, by having the server encapsulate the details of printing. This allows for consistent human-readable output across clients used against the same cluster, by having the server encapsulate the details of printing.
To output object information using this feature, you can add the `--experimental-server-print` flag to a supported `kubectl` command. This feature is enabled by default in `kubectl` 1.11 and higher. To disable it, add the
`--server-print=false` flag to the `kubectl get` command.
##### Examples ##### Examples
To print information about the status of a pod, use a command like the following:
```shell ```shell
$ kubectl get pods <pod-name> --experimental-server-print kubectl get pods <pod-name> --server-print=false
``` ```
The result of running this command is: Output looks like this:
```shell ```shell
NAME READY STATUS RESTARTS AGE NAME READY STATUS RESTARTS AGE