• Clayton Coleman's avatar
    Improve the output of `kubectl get events` · 2f275b72
    Clayton Coleman authored
    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.
    
    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)
    2f275b72
Name
Last commit
Last update
..
admissionregistration Loading commit data...
apps Loading commit data...
authentication Loading commit data...
authorization Loading commit data...
autoscaling Loading commit data...
batch Loading commit data...
cachesize Loading commit data...
certificates Loading commit data...
coordination Loading commit data...
core Loading commit data...
events Loading commit data...
extensions Loading commit data...
networking Loading commit data...
policy Loading commit data...
rbac Loading commit data...
registrytest Loading commit data...
scheduling Loading commit data...
settings Loading commit data...
storage Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...