Last active
February 27, 2017 15:04
-
-
Save mikeyhu/3f453326c3fffe3cdbf5d6b9c6329e86 to your computer and use it in GitHub Desktop.
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 describe nodes | awk '/Name:/{print;getline}/Allocated resources:/{for(l=0;l<5;l++){print;getline;b=1}if(b){print "--";b=0}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment