From beb6a39a7de861241d7dc0f5ada6a111c5874032 Mon Sep 17 00:00:00 2001 From: Juan Vallejo Date: Fri, 1 Jun 2018 18:41:59 -0400 Subject: [PATCH] update 1.11 --server-print info (#8870) * update 1.11 --server-print info * Copyedit --- content/en/docs/reference/kubectl/overview.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/content/en/docs/reference/kubectl/overview.md b/content/en/docs/reference/kubectl/overview.md index d7207926700f5..1d88c3cab8745 100644 --- a/content/en/docs/reference/kubectl/overview.md +++ b/content/en/docs/reference/kubectl/overview.md @@ -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 --experimental-server-print +kubectl get pods --server-print=false ``` -The result of running this command is: +Output looks like this: ```shell NAME READY STATUS RESTARTS AGE