Last active
September 21, 2018 12:42
-
-
Save matheusneder/db8d39d0687f4f92afe6136dbcd66859 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
# usage: kubectl get pod THE_POD_NAME -json | dockerinfo | |
alias dockerinfo="jq '{ name: .metadata.name, nodeName: .spec.nodeName, containers: [ .status.containerStatuses[] | { image: .image, containerID: .containerID } ]}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment