Kubernetes – kubectl get events sort by time

Spread the love

Kubernetes events can show some of the issues, but, unfortunately, by default it return unsorted events that is not easy to search.
For get events sorted by date use command:

kubectl get events --sorted-by '.metadata.creationTimestamp'

Добавить комментарий