<p>How to create a Kubernetes pod object with the image name contains upper cases and hyphen in it. Is this possible?</p>
<p>I tried different way by setting it in env variable but nothing works?</p>

<p>Thanks for the comments.  Yep, this question was asked in K8 CKAD exam.
I found there is a way, let me update,</p>
<p>the question is to create a K8 pod object with the image name which has an upper case. To do that,</p>
<ol>
<li><p>Create a regular pod using 'kubectl run nginx --image=nginx'</p>
</li>
<li><p>Now re-set the image name using 'kubectl set image pod/nginx nginx=Nginx'</p>
</li>
</ol>
<p>Using this way you can set the image name which has an upper case in it.
Yes, I know that the dockerName should not be in upper case. But I suspect the intention behind this question is to identify are there any way to create a pod with an uppercase image name.</p>
