Sort Kubernetes pods by age
Sorts all Kubernetes pods by the pod's start time. To sort by the pod's creation time, specify `.metadata.creationTimestamp` as the value for `--sort-by`.
Authored by: vjdhamaCommand
Copy
kubectl get po --sort-by=.status.startTime
Tags
Edit in GitHub
Copied