Software Engineer Interview Prep Podcast
Anatomy of `kubectl apply` - Inside the Kubernetes Control Plane
· 8 λεπ.
Σημειώσεις επεισοδίου
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 RBAC
• Admission Controllers
• Mutating (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…
Ιστότοπος: podcasters.spotify.com
