check the image name in a pod in kubernetes code example
Example: get containers in pod
kubectl get pods POD_NAME_HERE -o jsonpath='{.spec.containers[*].name}'
kubectl get pods POD_NAME_HERE -o jsonpath='{.spec.containers[*].name}'