Anatomy of `kubectl apply` - Inside the Kubernetes Control Plane episode artwork

EPISODE · Apr 24, 2026 · 7 MIN

Anatomy of `kubectl apply` - Inside the Kubernetes Control Plane

from Software Engineer Interview Prep Podcast · host Prabuddha Ganegoda

When I run kubectl apply, the request is sent to the Kubernetes API Server, which acts as the entry point to the cluster.The API Server processes the request through several stages:Authentication – validates the client (certificates, tokens, etc.)Authorization – checks permissions using RBACAdmission ControllersMutating (e.g., inject defaults, sidecars)Validating (ensure request is compliant)Once validated, the object is persisted.The API Server stores the Deployment object in etcd, which is the cluster’s consistent key-value store.At this point, the desired state is recorded—but nothing is running yet.The Kubernetes Controller Manager detects the new Deployment via the API Server’s watch mechanism.Deployment Controller creates a ReplicaSetReplicaSet Controller creates the required PodsThis is all driven by control loops comparing:Desired state (in etcd)Current state (actual cluster)The Pods are created without a node assigned.The kube-scheduler:Filters nodes (resource constraints, taints, node selectors)Scores remaining nodes (resource availability, affinity rules)Assigns the best nodeOnce scheduled, the kubelet on the node pulls the image and starts the container."The important thing is Kubernetes is entirely declarative and event-driven.Nothing is executed immediately—instead, components continuously reconcile actual state toward desired state."

Episode metadata supplied by the publisher feed · Published Apr 24, 2026

Embed this episode

NOW PLAYING

Anatomy of `kubectl apply` - Inside the Kubernetes Control Plane

0:00 7:48

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Software Engineer Interview Prep Podcast?

This episode is 7 minutes long.

When was this Software Engineer Interview Prep Podcast episode published?

This episode was published on April 24, 2026.

Can I download this Software Engineer Interview Prep Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!