kubernetes/docs
Kubernetes Submit Queue 79fc0a95a0 Merge pull request #35543 from philips/improve-version
Automatic merge from submit-queue

kubectl: add less verbose version

The kubectl version output is very complex and makes it hard for users
and vendors to give actionable information. For example during the
recent Kubernetes 1.4.3 TLS security scramble I had to write a one-liner
for users to get out the version number to give to figure out if they
are vulnerable:

```
$ kubectl version | grep -i Server | sed  -n 's%.*GitVersion:"\([^"]*\).*%\1%p'
```

Instead this patch outputs simply output by default

```
./kubectl version
Client Version: v1.4.3
Server Version: v1.4.3
```

Adding the `--verbose` flag will output the old format.
2016-11-14 22:39:21 -08:00
..
admin Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
api-reference Merge pull request #36438 from mwielgus/pdb-generation 2016-11-09 10:02:29 -08:00
design Rename PetSet to StatefulSet in docs and examples. 2016-11-05 00:17:28 -07:00
devel kubectl: add less verbose version 2016-11-10 14:07:42 -08:00
getting-started-guides Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
images Updated for v1.2.0. 2016-03-18 14:20:56 -07:00
man/man1 autogenerated 2016-11-08 06:33:46 -08:00
proposals Removed outdated metrics docs 2016-11-10 22:13:28 +01:00
user-guide autogenerated 2016-11-08 06:33:46 -08:00
yaml/kubectl autogenerated 2016-11-08 06:33:46 -08:00
api.md Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
README.md Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
reporting-security-issues.md Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
roadmap.md Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
troubleshooting.md docs: remove troubleshooting 2016-10-27 21:42:28 -07:00
warning.png
whatisk8s.md Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00

Kubernetes Documentation: releases.k8s.io/HEAD

Analytics