Kubernetes Pod and Container Concepts: Difference between revisions
(→Pod) |
|||
Line 14: | Line 14: | ||
==Shared Context== | ==Shared Context== | ||
The containers in a pod share network resources and storage. From this perspective, a pod can be thought of as a '''logical host''' with all its processes (containers) sharing the network stack and the storage available to the host. | |||
==Pod Lifecycle== | ==Pod Lifecycle== |
Revision as of 18:17, 24 September 2021
External
- https://kubernetes.io/docs/concepts/workloads/pods/ (fully synced ✓)
Internal
Overview
Pod
A pod is a group of one or more containers Kubernetes deploys and manages a compute unit, and the specification for how to run the containers. Kubernetes will not manage compute entities with smaller granularity, such as containers or processes.
The containers of a pod are atomically deployed and managed as a group. A useful mental model when thinking of a pod is that of a logical host, where all its containers share a context.
Pod Operation Atomicity
The containers in a pod share network resources and storage. From this perspective, a pod can be thought of as a logical host with all its processes (containers) sharing the network stack and the storage available to the host.
Pod Lifecycle
Pods and Nodes
Pods and Containers
Container
TODO:
Container Types
Application Contaier
Init Container
Ephemeral Container
Container Probes
Summary of a relationship between container probe result and overall pod situation.