Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tazarov/0e21acce8869feb44b66ee88eb006ece to your computer and use it in GitHub Desktop.
Save tazarov/0e21acce8869feb44b66ee88eb006ece to your computer and use it in GitHub Desktop.
kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" |\
tr -s '[[:space:]]' '\n' |\
sort |\
uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment