You run kubectl apply -f deployment.yaml . Half a second later: deployment.apps/web created . Nothing you deployed exists yet. No ReplicaSet, no Pod, no container, no IP.
"Created" means one thing: a record was written to etcd. Everything after that happens across 11 components, and most of them never talk to each other directly. They all watch the API server and react to what the previous one wrote.
kubectl βββΊ API server βββΊ etcd "created" is printed here β watches ββββββ the controllers below only talk through the API server β Deployment controller βββΊ ReplicaSet ReplicaSet controller βββΊ 3 Pods (Pending, no node) scheduler βββΊ Pod gets a nodeName kubelet (on the node) βββΊ container runtime βββΊ CNI plugin (IP) (these three call each other directly) init containers, then app containers readiness probe βββΊ Pod is Ready EndpointSlice ctrl βββΊ endpoint flips to ready kube-proxy βββΊ every node can route to it first request lands here
Enter fullscreen mode
Exit fullscreen mode
kubectl to etcd (steps 1 toβ¦