Skip to content

Instantly share code, notes, and snippets.

@dyipon
Created March 27, 2022 20:33
Show Gist options
  • Save dyipon/7dba05bb265f5e3b5a229362ea9ec9c8 to your computer and use it in GitHub Desktop.
Save dyipon/7dba05bb265f5e3b5a229362ea9ec9c8 to your computer and use it in GitHub Desktop.
kubectl get pods --all-namespaces -o=jsonpath="{range .items[*]}{'\n'}{range .spec.containers[*]}{.image}{'\n'}{end}{end}" | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment