© Ernesto Garbarino 2019
E. GarbarinoBeginning Kubernetes on the Google Cloud Platformhttps://doi.org/10.1007/978-1-4842-5491-2_2

2. Pods

Ernesto Garbarino1 
(1)
EGHAM, UK
 

Pods are the most atomic unit of work in a Kubernetes cluster. A Pod encompasses one or more containers, which will be deployed together on the same machine and can, thus, use local data exchange mechanisms (Unix sockets, the TCP loopback device, and even memory-backed shared folders) for faster communication.

Not only containers grouped in Pods achieve faster communication by avoiding a network roundtrip, they can also use shared resources such as file systems.

A key characteristic of a Pod is that, once deployed, they share the same IP address and port space. Unlike vanilla Docker, ...

Get Beginning Kubernetes on the Google Cloud Platform: A Guide to Automating Application Deployment, Scaling, and Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.