List all events sorted by lastTimestamp
kubectl \
get \
events \
--sort-by=".lastTimestamp"
Filter for a specific pod sorted by lastTimestamp
kubectl \
get \
events \
--sort-by=".lastTimestamp" \
--field-selector involvedObject.name=POD_NAME
Exclude Normal
events
kubectl \
get \
events \
--sort-by=".lastTimestamp" \
--field-selector type!=Normal
Grouping --field-selector
kubectl \
get \
events \
--sort-by=".lastTimestamp" \
--field-selector involvedObject.name=POD_NAME,type!=Normal