Member-only story

From your kubectl apply to a pod ?

Xavier Pestel (Xavki)
3 min readNov 15, 2024

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…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Xavier Pestel (Xavki)
Xavier Pestel (Xavki)

Written by Xavier Pestel (Xavki)

Microservices architecture and opensource. I’m maintainer of xavki https://youtube.com/c/xavki-linux about opensource. My blog : https://xavki.blog/

No responses yet

Write a response