k9s icon indicating copy to clipboard operation
k9s copied to clipboard

changing 1h to 1d to make it easier to view today's events

Open da0x opened this issue 3 years ago • 2 comments

Viewing today's events is useful, and not sure if 30m vs 1h makes too much sense. If others vote this up then maybe it's worth changing.

da0x avatar Apr 22 '21 17:04 da0x

Having the opposite of this would be useful for me. Sometimes we have 10K events in the last hour and k9s becomes completely unusable at that level of events (i.e. must be killed).

jboyens avatar Aug 05 '21 04:08 jboyens

Kubernetes Event objects are stored in Etcd and it only keeps the last hour's worth of Events, to keep from burdening Etcd storage. Adding higher time ranges won't show more historical events, unfortunately.

@derailed you may want to close this as I don't believe it's possible.

@da0x Other alternatives are to ship those Events somewhere else where they can be stored/indexed/viewed. Here are a few tools that turn K8s Event objects into JSON log messages, so you can ingest them into something like Elasticsearch or Loki.

nublarsec avatar Apr 28 '22 18:04 nublarsec