<p>I want to increase the number of pods in kubernetes for which I'm trying with the following commands but which gives an error Error from server (NotFound): deployments.apps  not found</p>
<pre><code>kubectl scale deployment &lt;pod&gt; --replicas=4
</code></pre>

Srikanth Aawula
<p>You to pass the deployment name which you want to scale</p>
<pre><code>kubectl scale deployment &lt;deployment name&gt;  --replicas=4
</code></pre>
<p><strong>POD</strong> name wont work.</p>
<p><a href="https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#scaling-a-deployment" rel="nofollow noreferrer">Read more here/Example</a></p>
<pre><code>kubectl scale deployment/nginx-deployment --replicas=10
</code></pre>
