<p>I can understand basic management and operation of container on bare-metal running Docker engine and Kubernetes Orchestration. I'm wondering how is the management and orchestration of container on virtual machine (VM)? Anyone familiar working of container on VM, does it difficult to manage and orchestrate compare to container on bare-metal?</p>
<ol>
<li>Resources of container on VM as my understanding the VM instance itself is already mapped to specific flavor (e.g 2vCPU and 8G memory) and does it means if container on VM will be limited by the defined VM flavor?</li>
<li>How K8s will manage container on VM, does it see the VM as a VM or as a POD?</li>
</ol>
<p>Thanks for sharing your comments and input. Please advise and enlighten me.</p>

<p>There is no difference if you are looking forward to using <strong>VM</strong> as <strong>worker node</strong> of the <strong>Kubernetes</strong> cluster and manage the POD (container) over it. Kubernetes consider and manage the VM as Node.</p>
<p>If you are looking forward to running standalone containers on top of a <strong>VM</strong> using simple <strong>docker</strong> without any <strong>Orchestration</strong> tool, it will be hard to manage</p>
<ul>
<li>Deployment options</li>
<li>Scaling containers</li>
<li>Resource management</li>
<li>Load balancing the traffic across containers</li>
<li>Handling the routing</li>
<li>Monitor the health of containers and hosts</li>
</ul>
<p>If you are still looking forward to running the container top of <strong>only VM</strong> there are few managed services from <strong>AWS &amp; GCP</strong>.</p>
<ul>
<li><strong>Cloud Run</strong></li>
<li><strong>ECS</strong></li>
</ul>
<p>above are managed container Orchestration services and using it you can manage the container top of <strong>VM</strong>.</p>
<p>If you looking forward to the running the container by your ownself on simple you can do it using simple <strong>docker</strong> or <strong>docker-compose</strong> also. But at very first you will face an issue routing the traffic across multiple containers.</p>
<blockquote>
<p>How K8s will manage container on VM, does it see the VM as a VM or as
a POD?</p>
</blockquote>
<p>It sees the VM as a node and runs the necessary services top of VM first and manages it.</p>
