Study. uk . com
  1. Home
  2. All questions
  3. Question 470

CKA study material · question 470 of 1000

Which flag puts kubectl get events into chronological order?

  1. --watch
  2. --chronological
  3. --sort-by=.lastTimestamp
  4. --sort-by=.metadata.creationTimestamp
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

Challenge yourself on this topic → Study as cards