Created
August 27, 2018 16:10
-
-
Save rbtr/43bb60874f67443ea909b6d56537d242 to your computer and use it in GitHub Desktop.
sort kubernetes nodes by age
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get nodes --sort-by=".status.conditions[?(@.reason == 'KubeletReady' )].lastTransitionTime" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for sharing this! Still valid :)