Submit the desired state to the API server
With kubectl apply, the user sends a Deployment that says "run 3 nginx Pods".
The API server first checks who sent it (authentication), whether they are allowed to (authorization), and whether it is well-formed (validation).
Key ideaEvery Kubernetes component talks only through the API server. Users and internal parts alike, no exceptions.
Store it in etcd and return "created" right away
The Deployment that passed the checks is saved to etcd, and "created" goes straight back to the user.
But at this point not a single container exists. Only the desired state has been recorded.
Key idea"Created" means "recorded". Several steps remain before anything actually runs.
What changed in this step
- +Deployment stored in etcd
A controller asks for Pods to be created
The controller keeps watching the API server and spots the new Deployment.
Through a ReplicaSet, it asks for as many Pod objects as replicas. Which node they go on is not decided yet.
What changed in this step
- +3 Pod objects created (no node yet)
The scheduler picks a node for each Pod
The scheduler watches for Pods without a node, weighs each node’s free CPU, memory, and placement rules, and picks a suitable one.
It writes the choice back to the API server (binding). If no node fits, the Pod stays Pending right here.
Key ideaThe scheduler only chooses the node; it does not run anything. Running is the job of that node’s kubelet.
What changed in this step
The kubelet hands off container startup
The kubelet on node-2 watches for "Pods assigned to my node" and spots the new one.
It then asks the container runtime to create and start the container.
Pull the image
If the node does not have the image, the runtime pulls it from the registry. This is usually the slowest step.
If the image name is wrong or the registry is unreachable, ImagePullBackOff happens here.
Watch outIn an air-gapped network, external registries are unreachable, so images must be pushed to an internal registry (such as Harbor) in advance.
The container starts
Once the image is ready, the runtime creates and starts the container. Only now does nginx begin running inside the Pod.
It must pass its readiness probe before it can receive traffic.
The kubelet reports status
The kubelet reports the Pod status to the API server, and it is recorded in etcd.
The "Running" you see in kubectl get pods or a dashboard is read from exactly this record.
Key ideaThe status kubectl shows is not a direct look at the container; it is the record the kubelet reported.
What changed in this step
- +Pod status Running · Ready recorded
Nobody gives direct orders
None of these components commanded each other directly. Each wrote to the API server and watched those records to do its own part.
That is why any one part can pause and come back, then pick up where it left off.
SummaryPod creation runs API server record → scheduling → image → run. If it is stuck for long, kubectl describe pod Events show which step it stopped at.