hardkubectl
Extract the container image names for all pods in the current namespace
command
kubectl get pods -o jsonpath='{.items[*].spec.containers[*].image}'also accepted
kubectl get pods -o jsonpathcommand
kubectl get pods -o jsonpath='{.items[*].spec.containers[*].image}'also accepted
kubectl get pods -o jsonpathTest your recall — not just your reading.
Practice with interactive quiz →