mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 50602, 51561, 51703, 51748, 49142) Simplify describe events table The describe table for events is not easy to read and violates other output guidelines. Change to use spaces (we don't use tabs in formal output for tables). Remove columns that are not normally needed or available on events. Example for pods: ``` ... QoS Class: BestEffort Node-Selectors: role=app Tolerations: <none> Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Pulling 1h (x51 over 5h) kubelet, origin-ci-ig-n-gj0x pulling image "registry.svc.ci.openshift.org/experiment/commenter:latest" Normal BackOff 8m (x1274 over 5h) kubelet, origin-ci-ig-n-gj0x Back-off pulling image "registry.svc.ci.openshift.org/experiment/commenter:latest" Warning FailedSync 3m (x1359 over 5h) kubelet, origin-ci-ig-n-gj0x Error syncing pod ``` Puts the type first (separate important from not), then reason (which is the most impactful scanning field). Collapses first seen, last seen, and times into a single field, since most of the time you care about the last time the event happened, not the first time. @kubernetes/sig-cli-pr-reviews sorry for the last minute drop, but the usability of this is driving me up the wall and I can't take it anymore. Would like to slip this into 1.8 so that I can debug things without dying a little inside. Fixes #47715 ```release-note The event table output under `kubectl describe` has been simplified to show only the most essential info. ``` |
||
---|---|---|
.. | ||
apps | ||
cmd | ||
metricsutil | ||
plugins | ||
proxy | ||
resource | ||
testing | ||
util | ||
validation | ||
BUILD | ||
OWNERS | ||
apply.go | ||
autoscale.go | ||
bash_comp_utils.go | ||
cluster.go | ||
cluster_test.go | ||
clusterrolebinding.go | ||
configmap.go | ||
configmap_test.go | ||
delete.go | ||
delete_test.go | ||
deployment.go | ||
doc.go | ||
env_file.go | ||
env_file_test.go | ||
explain.go | ||
generate.go | ||
generate_test.go | ||
history.go | ||
interfaces.go | ||
kubectl.go | ||
kubectl_test.go | ||
namespace.go | ||
namespace_test.go | ||
pdb.go | ||
quota.go | ||
quota_test.go | ||
resource_filter.go | ||
resource_filter_test.go | ||
rolebinding.go | ||
rolebinding_test.go | ||
rollback.go | ||
rolling_updater.go | ||
rolling_updater_test.go | ||
rollout_status.go | ||
rollout_status_test.go | ||
run.go | ||
run_test.go | ||
scale.go | ||
scale_test.go | ||
secret.go | ||
secret_for_docker_registry.go | ||
secret_for_docker_registry_test.go | ||
secret_for_tls.go | ||
secret_for_tls_test.go | ||
secret_test.go | ||
service.go | ||
service_basic.go | ||
service_basic_test.go | ||
service_test.go | ||
serviceaccount.go | ||
serviceaccount_test.go | ||
sorting_printer.go | ||
sorting_printer_test.go | ||
versioned_client.go |