Created
January 9, 2026 10:33
-
-
Save mig82/f88e41dbbd8838352b83f4ffe158c6fa to your computer and use it in GitHub Desktop.
Kubectl list pods along with corresponding images
This file contains hidden or 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
| # Add -l foo=bar to filter by labels | |
| kubectl get pods --Ao jsonpath=\ | |
| '{range .items[*]}{@.metadata.namespace}{"\t"}{@.metadata.name}{"\t"}{@.spec.containers[*].image}{"\n"}{end}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment