Created
December 10, 2018 10:54
-
-
Save grrywlsn/5895e14049d05edc049294ba6d89d80e to your computer and use it in GitHub Desktop.
Get the name and version of every deployment in a namespace
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 deployment -n production -o wide | awk '{n=split($8,A,":"); print $1 " " A[n]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment