This page looks best with JavaScript enabled

What is a pod in Kubernetes?

 ·  ☕ 1 min read  ·  🐧 sysadmin

Here is a short video; continue reading to find out more.

In the context of Kubernetes, a pod can be thought of as the smallest deployable unit, much like a single apartment within a large apartment building. (The rest of the article is under the image.)

large apartment building

large apartment building

Just as an apartment can have one or more rooms, a pod can contain one or more containers, such as Docker containers. These containers inside a pod are like rooms within an apartment, each serving a specific function or purpose. They share resources and are managed as a single entity.

apartment plan

apartment plan

In this analogy, each container (room) in the pod (apartment) works towards a common goal, such as running different aspects of an application. They share the same network address space (like an apartment’s address) and can communicate with each other easily, just as people in different rooms of the same apartment can easily talk to each other.

Thus, a pod represents a cohesive unit of deployment in the Kubernetes ecosystem, encapsulating and running a set of containers together.

apartment

apartment

Support the author with

sysadmin
WRITTEN BY
sysadmin
QA & Linux Specialist