Skip to content

Commit

Permalink
update 1.11 --server-print info (#8870)
Browse files Browse the repository at this point in the history
* update 1.11 --server-print info

* Copyedit
  • Loading branch information
juanvallejo authored and Misty Linville committed Jun 27, 2018
1 parent 9db299a commit 39d3105
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions content/en/docs/reference/kubectl/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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

To print information about the status of a pod, use a command like the following:

```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
NAME READY STATUS RESTARTS AGE
Expand Down

0 comments on commit 39d3105

Please sign in to comment.