Automatic merge from submit-queue (batch tested with PRs 66445, 66643, 60551). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Improve the output of `kubectl get events` Events have long shown the most data of the core objects in their output, but that data is of varying use to a user. Following the principle that events are intended for the system to communicate information back to the user, and that Message is the primary human readable field, this commit alters the default columns to ensure event is shown with the most width given to the message, and all other fields organized by their relevance to the message. 1. Events are no longer sorted in the printer (this was a bug and was broken with paging and server side rendering) 2. Only the last seen, type, reason, kind, and message fields are shown by default, which makes the message prominent 3. Source, subobject, count, and first seen are only shown under `-o wide` 4. The duration fields were changed to be the more precise output introduced for job duration (2-3 sig figs) 5. Prioritized the column order for scanning - when, how important, what kind of error, what kind of object, and the message. 6. Trim trailing newlines on the message. ```release-note Improved the output of `kubectl get events` to prioritize showing the message, and move some fields to `-o wide`. ``` ``` $ kubectl get events --sort-by lastTimestamp LAST SEEN TYPE REASON KIND MESSAGE 16m Normal SawCompletedJob CronJob Saw completed job: image-mirror-origin-v3.11-quay-1532581200 16m Normal SuccessfulDelete CronJob Deleted job image-mirror-origin-v3.11-quay-1532577600 14m Normal Scheduled Pod Successfully assigned 50c42204-9091-11e8-b2a1-0a58ac101869 to origin-ci-ig-n-fqfh 14m Normal Pulling Pod pulling image "docker-registry.default.svc:5000/ci/commenter:latest" 14m Normal Created Pod Created container 14m Normal Pulled Pod Successfully pulled image "docker-registry.default.svc:5000/ci/commenter:latest" 14m Normal Started Pod Started container 14m Normal SandboxChanged Pod Pod sandbox changed, it will be killed and re-created. 4m14s Normal ScaleDown Pod deleting pod for node scale down 4m14s Normal ScaleDown Pod deleting pod for node scale down 4m14s Normal ScaleDown Pod deleting pod for node scale down 4m14s Normal ScaleDown Pod deleting pod for node scale down 4m14s Normal ScaleDown Pod deleting pod for node scale down 4m14s Normal ScaleDown Pod deleting pod for node scale down 4m14s Normal ScaleDown Pod deleting pod for node scale down 4m13s Normal SuccessfulCreate ReplicationController Created pod: tide-30-hmncf 4m13s Normal Scheduled Pod Successfully assigned tide-30-hmncf to origin-ci-ig-n-x64l 4m12s Normal SuccessfulCreate ReplicationController Created pod: console-jenkins-operator-16-dd5k8 4m12s Normal SuccessfulCreate ReplicationController Created pod: sinker-23-scfmt ``` |
||
---|---|---|
.github | ||
api | ||
build | ||
cluster | ||
cmd | ||
docs | ||
Godeps | ||
hack | ||
logo | ||
pkg | ||
plugin | ||
staging | ||
test | ||
third_party | ||
translations | ||
vendor | ||
.bazelrc | ||
.generated_files | ||
.gitattributes | ||
.gitignore | ||
.kazelcfg.json | ||
BUILD.bazel | ||
CHANGELOG-1.2.md | ||
CHANGELOG-1.3.md | ||
CHANGELOG-1.4.md | ||
CHANGELOG-1.5.md | ||
CHANGELOG-1.6.md | ||
CHANGELOG-1.7.md | ||
CHANGELOG-1.8.md | ||
CHANGELOG-1.9.md | ||
CHANGELOG-1.10.md | ||
CHANGELOG-1.11.md | ||
CHANGELOG.md | ||
code-of-conduct.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
Makefile.generated_files | ||
OWNERS | ||
OWNERS_ALIASES | ||
README.md | ||
SECURITY_CONTACTS | ||
SUPPORT.md | ||
WORKSPACE |
Kubernetes

Kubernetes is an open source system for managing containerized applications across multiple hosts; providing basic mechanisms for deployment, maintenance, and scaling of applications.
Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.
Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If you are a company that wants to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.
To start using Kubernetes
See our documentation on kubernetes.io.
Try our interactive tutorial.
Take a free course on Scalable Microservices with Kubernetes.
To start developing Kubernetes
The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.
If you want to build Kubernetes right away there are two options:
You have a working Go environment.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release
For the full story, head over to the developer's documentation.
Support
If you need support, start with the troubleshooting guide, and work your way through the process that we've outlined.
That said, if you have questions, reach out to us one way or another.