Use below command to get name and image:
kubectl get pods -Ao jsonpath="{range .items[*]}{@.metadata.name}{" "}{@.spec.template.spec.containers[].image}{"\n"}{end}"
It will give output like below:
name image
Use below command to get name and image:
kubectl get pods -Ao jsonpath="{range .items[*]}{@.metadata.name}{" "}{@.spec.template.spec.containers[].image}{"\n"}{end}"
It will give output like below:
name image