Skip to main content

What is the difference between a Kubernetes pod and a container?

FAQ resource for your migration project.

FAQ resource for What is the difference between a Kubernetes pod and a container?.

Answer

A container is a single packaged process, while a pod is the smallest deployable unit in Kubernetes and can hold one or more containers that share the same network namespace and storage volumes. Containers in a pod are always scheduled together on the same node and can communicate over localhost. Most pods run a single primary container, but a pod may include helper containers such as sidecars or init containers. Kubernetes manages pods, not individual containers, when scaling and scheduling.