Created
June 6, 2018 09:11
-
-
Save mclarke47/dd23ffab9120f9f1d30b7e91908b017d to your computer and use it in GitHub Desktop.
Sort pods by restart count
This file contains hidden or 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 pods --sort-by='.status.containerStatuses[0].restartCount' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment