Hi all.. if question asks create pod with nginx with tag 1.12. what is command? . . .

Kalpan:
hi all… if question asks create pod with nginx with tag 1.12. what is command?
kubectl run nginx:1.12?

Mayur Sharma:
is it same as kubectl run nginx --image=nginx:1.12?

Have you run your command, would’t K8s return the error that name or image is not defined

Tej_Singh_Rana:
Yeah, you’re correct.

kubectl run nginx --image=nginx:1.12

Mayur Sharma:
Also, after running command, you can verify the pod using describe option to check the requirement has met or not

Tej_Singh_Rana:
<image>:<tag>

Kalpan:
thanks…the tag thing threw me off