<p>I want to deploy my project to the Kubernetes cluster. I want to deploy it by using command:</p>
<pre><code>- kubectl set image deployment/$CLUSTER_NAME gcr.io/$PROJECT_ID/$DOCKER_REPOSITORY:latest
</code></pre>
<p>But here I get error :</p>
<p><a href="https://i.stack.imgur.com/pZCTp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pZCTp.png" alt="enter image description here" /></a></p>

<p>It's a misleading error message.</p>
<p>Essentially instead of <code>abcxyz/abcxyz:example</code> you also need to specify the <strong>container name</strong> that the image should be assigned to so for example <code>example=abcxyz/abcxyz:example</code>.</p>
