Member-only story
From your kubectl apply to a pod ?
A new blog post after the previous about the kubernetes architecture overview.
In this blog post we’ll discover how kubernetes creates a pod when you kubectl apply a deployment.
I think this step is really important for beginners to well understand how kubernetes works.
Push your deployment to the apiServer
Basically you write your deployment manifest with pod specifications : replicas, strategy, container list…
After that, you apply the kubectl apply -f <manifest-file> CLI.
Then the HTTP request is sent to the apiServer (kube-api-server). The API check your authentication and authorization and finally the admission of your request (format of your resource etc).
If all is good, apiServer stores the manifest datas in the ETCD database.

The deployment controller to handle the deployment
Through the controller manager, kubernetes uses controllers. These tools are a…