Pod
What is Pod?
Pod: The smallest deployable unit in Kubernetes — typically one or more containers that share a network namespace and storage. A pod is the smallest unit Kubernetes runs. It wraps one or more containers that always run together on the same machine, share an IP address and can share storage. Most pods contain a single application container. Extra containers in the same pod, called sidecars, handle supporting tasks like shipping logs or proxying traffic.
Frequently asked questions about Pod
What should you keep in mind with Pod?
Pods are temporary. They are created, replaced and moved by controllers such as Deployments, and each new pod gets a new IP address. That is why other services reach pods through a Service, not by pod IP. Anything a pod writes to its own file system disappears when it is replaced, so store data in volumes, databases or object storage. When debugging, kubectl get pods, describe and logs are the starting points.
At a glance
| Category | Core glossary |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |