Flow of Components
Client
↓
Service (stable IP)
↓
Deployment
↓
ReplicaSet (auto managed by Deployment)
↓
Pods
↓
Containers
Basic Components

Pods
- The smallest deployable unit in Kubernetes.
- Can be moved, scaled to other nodes.
- Have dynamic IPs.
- Pods share network and storage.
- A pod can contain one or more containers.
- Except ur container, will have log / monitor containers.
- Unhealthy pods will auto be replaced by Deployments / ReplicaSets.
Nodes
- A node is a machine (virtual or physical).
- Nodes run pods, which in turn run containers
- Each node runs:
- kubelet (communicates with control plane & ensures pods are running)
- container runtime (Docker / containerd)
- kube-proxy (handles networking and service routing)