- Home
- All questions
- Question 470
CKA study material · question 470 of 1000
Which flag puts kubectl get events into chronological order?
Show the answer
Answer: D. --sort-by=.metadata.creationTimestamp
Events are not listed in time order by default; sorting by creationTimestamp fixes that.
Source: kubectl Quick Reference (Kubernetes) — Viewing and finding resources