Interview Prep/Kubernetes/Architecture & Control Plane

What happens, step by step, when you run `kubectl apply -f deploy.yaml`?

IntermediateConceptArchitecture & Control Plane
Answer

kubectl reads kubeconfig, sends the object to the API server, which authenticates, authorizes and admits it, then stores the Deployment in etcd. The Deployment controller creates a ReplicaSet; the ReplicaSet controller creates Pods; the scheduler binds each Pod to a node; the kubelet on that node pulls the image and starts the containers via CRI; and endpoints are updated once the Pod is Ready.

All Kubernetes questions Roadmap: Kubernetes core

More on Architecture & Control Plane