DELAPARRA
Index
Color
NL
Category: Kubernetes

Pod

Explained by Updated

What is Pod?

Pod: The smallest deployable unit in Kubernetes — one or more containers that share a network namespace and storage. You rarely create Pods directly; a controller makes them for you. In Kubernetes, a Pod is one or more containers that run together on one node, sharing a network address and optionally storage. It is the basic unit that gets scheduled, started and stopped.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Pod

How is Pod used in practice?

You rarely create pods directly. A Deployment, StatefulSet, Job or DaemonSet creates and manages them, and replaces them when they fail or when you roll out a new version. A pod created by hand is not restarted if its node fails.

What should you keep in mind with Pod?

A well-defined pod specification includes resource requests and limits, readiness and liveness probes, and a non-root user. Those settings let Kubernetes place the pod sensibly, send traffic only when it is ready, restart it when it hangs, and limit the damage if it is compromised. Treat pods as disposable and replaceable at any moment.

What does an example of Pod look like?

apiVersion: v1 kind: Pod metadata: name: web spec: containers: - name: web image: nginx:1.27 ports: - containerPort: 80

At a glance

CategoryKubernetes
Explained by
Updated

More Kubernetes terms

All terms starting with P

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.