Kubernetes CKA sample exam question 130 with answer

Question
Check the image version of nginx pod without the describe command.

Answer
For this - the jsonpath is used:

kubectl get po nginx -o jsonpath='{.spec.containers[].image}{"\n"}'