Study FAQ
How do virtual machines and containers fit together in VKS?
Also asked as 2
- What is the difference between a VKS node VM and an application container?
- Where do VMs, Pods, and containers run in a VKS cluster?
Answer
In VKS, a node is a virtual machine with its own guest operating system, and the application containers in a Pod normally share the kernel of the node VM where Kubernetes places that Pod. vSphere supplies VM compute and isolation. The VKS cluster supplies container scheduling and workload management within those VMs.
Choose a VM for a workload that needs its own guest kernel, guest-level configuration, or a conventional VM delivery model. A container suits an application that can run with the Kubernetes node's kernel and benefit from declarative deployment and replacement. Container isolation still depends on the runtime and security policies. An application Pod can contain one container or closely related containers that need to share the Pod's runtime context.
In a standard VKS workload cluster, the failure of a node VM can affect all Pods using that node. Application replicas, node placement, and persistent storage each need their own availability design.
Full explanation
Kubernetes Fundamentals for VMware vSphere Administrators
Study guide · 3V0-24.25
Read the full explanation