Pods
In Kubernetes, a pod is a group of containers and volumes, all of which share the same IP address among the cluster.
All content of the pod is guaranteed to run on the same host. As a result, a pod can be thought of as an atomic unit of deployment and scheduling.
The pod concept is needed in order to provide us with the ability to implement decoupled containers. With pods, we are able to collocate a bunch of containers with different functionalities that have to be located together (and possibly share data). Those distinct functionalities can be encapsulated in each container. If, on the other hand, a container would have to be used as an atomic unit of deployment, we may be forced to collocate distinct functionalities in one container ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access