How to List Openshift Events and Order Them by Timestamp

By default displaying events in Openshift 4 can sometimes create confusion, so we need to order them by using timestamp. This is the command to do it,

$ oc get events --sort-by='{.lastTimestamp}'

Leave a Comment

Your email address will not be published.