Kubernetes Debugging Cheat Sheet/List images used by all pods

Find image tags currently running in the cluster.

Section: JSONPath and Useful One-Liners

List images used by all pods

bash
bash
kubectl get pods -A -o jsonpath='{..image}' | tr -s '[[:space:]]' '
' | sort | uniq -c

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing JSONPath and Useful One-Liners
List pods with restart counts
Spot frequently restarting containers quickly.
OpenIn sheetbashsame section
Show which node each pod runs on
Correlate pod failures with node placement.
OpenIn sheetbashsame section
Show not-ready pods
Filter pods whose Ready condition is false or missing.
OpenIn sheetbashsame section
Show pod CPU and memory usage
Requires metrics-server; useful for resource-based incidents.
OpenIn sheetbashsame section
Show node CPU and memory usage
Identify hot or memory-constrained nodes.
OpenIn sheetbashsame section
Check kubectl and server version
Show client and server version details.