Last active
September 29, 2016 20:57
-
-
Save paultyng/0efde9cc7faf2f852d3e14188e609393 to your computer and use it in GitHub Desktop.
Revisions
-
paultyng renamed this gist
Sep 29, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
paultyng created this gist
Sep 29, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ kubectl get pods -o json | jq '.items[] | .metadata.name + " " + (.status.containerStatuses[].restartCount | tostring)' -r | awk '$2 > 0 { print $1 " " $2 }'