A Pod groups one or more containers that share the same network namespace and storage volumes. Kubernetes schedules Pods, not individual containers, making Pods the smallest deployable unit.
kubectl run nginx --image=nginx --restart=NeverThe command creates a Pod named 'nginx' because the --restart=Never flag tells kubectl to create a Pod instead of a Deployment.
The Pod lifecycle starts with scheduling to a node, then container creation and start, followed by the Running state, and finally termination and removal.
A Pod stuck in Pending usually means Kubernetes cannot find a node with enough CPU, memory, or other resources to run it.
Pods are designed to hold containers that need to share storage, network, and lifecycle. Grouping tightly coupled containers in one Pod is a best practice.
