<p>I deployed  application on azure kubernetes. When I create azure kubernetes cluster  , it was with single node which i assume to be 1 virtual machine.</p>

<p>Now I scaled my deployment.</p>

<pre><code>kubectl scale --replicas=3 deployment/kubdemo1api
</code></pre>

<p>after this i fire
    kubectl get pods</p>

<pre><code>kubdemo1api-776dfc99cc-c72qg   1/1       Running   0          1m
kubdemo1api-776dfc99cc-n7xvs   1/1       Running   0          1m
kubdemo1api-776dfc99cc-xghs5   1/1       Running   0          13m
</code></pre>

<p>which tells me that now there are 3 instances of my deployment running.</p>

<p>However If i go to azure portal kubernetes cluster.</p>

<p>I still continue to see 1 node . This is confusing me  , as to how is scaling working in aks and where are the scaled instances getting deployed.</p>

Mandar Jogalekar
<p>You are confusing virtual machines with containers. Nodes are virtual machines, pods are containers (essentially).  When you scale deployment you add pods. You cannot scale nodes from within kubernetes yet.</p>

<p>If you do <code>kubectl get nodes</code> you will see virtual machines.</p>

<p>Pods: <a href="https://kubernetes.io/docs/concepts/workloads/pods/pod/" rel="noreferrer">https://kubernetes.io/docs/concepts/workloads/pods/pod/</a><br>
Nodes: <a href="https://kubernetes.io/docs/concepts/architecture/nodes/" rel="noreferrer">https://kubernetes.io/docs/concepts/architecture/nodes/</a></p>
