How does Kubernetes create a Pod?

preview_player
Показать описание

When you create a pod in Kubernetes, what happens behind the scenes? How do Kubernetes components work together to generate that pod?

Deepen your knowledge of Kubernetes by understanding how a pod is created and maintained, a process which touches almost every major component in the Kubernetes cluster.

#Kubernetes #Pods #etcd
Рекомендации по теме
Комментарии
Автор

Great description. I really like that you chose a specific, isolated use case (pod creation), and then you describe exactly what's involved.

ftate
Автор

The Best video which explained the Pod creation

rakeshsrinivasa
Автор

I have been learning about Kubernetes for past one week and came across your video and it gave me an deep understanding about various stages of pod creation. Thanks much.

ashok
Автор

i was looking for a simple explanation and it was soo difficult to find out. Thank you soo much for this video and the quality of your explanations!!

seiyace
Автор

This is the greatest video of all time for beginners in Kubernetes.

Jaket
Автор

honestly the best explanation over web!!

aeytube
Автор

Steps in creating a new pod:

1. A user submits a new configuration with kubectl to kube-API Server
2. Kube-API Server writes the configuration to etcd
3. Scheduler compares the configuration to actual state
4. Scheduler informs kube-API Server of which compute node(s) to schedule the workload
5. Kube-API Server requests corresponding Kubelets to create the new pod
6. Kubelet creates a new pod
7. Kubelets report latest status to kube-API Server
8. Kube-API Server updates the actual state in etcd

ReflectionOcean
Автор

I noticed you didn't mention the Pod state during this process.
Here it is:
1. After Kube-API server returned "created" response to user, the pod's state will be "pending"
2. After scheduler set the node for that pod, Pod's state will be "creating"
3. After Kubelet created the pod, state will be "running"
4. If the pod is failing and restarting, state will be "Crash loop back off"

AminSoftwareEngineer
Автор

Best and simple way how pod is created
Thanks a lot

aasthamohania
Автор

Surely one of the coolest way to explain k8s pod creation 👍👍

nishantgupta
Автор

Great introduction to the architecture of k8s. Well explained and clear.

sebastienpiller
Автор

I love the logical processes you cool!

TheSoulCrisis
Автор

A great explanation, good didatic. Thanks for your contribution 👏

bshman
Автор

thanks for your explanation. But i am still confused about pod and container. can you explain?

ManhNguyen-ikkl
Автор

I think one more thing needs to addressed here, that is CNI for communication between pods, we have several of them like weave, calico, flannel etc

gouravsalla
Автор

The Scheduler & Control Manager relies entirely on the information supplied by the API server to execute their functions. In the event of the API server being unavailable, these components would also cease to function. The question arises: in a loosely coupled microservices environment, why do we have separate components that are dependent on others? Why can't the API server itself handle the tasks of both Control and Scheduler, eliminating the need for additional components with interdependencies?

somesekhar
Автор

I was prepared for the question explain K8s architecture. But this question came in interview🙂

VijaykumarBisalahalli
Автор

kubelet does a few things:

1. register compute nodes
2. report status
3. start/stop workload

ReflectionOcean
Автор

kube-proxy is for communication between compute nodes

ReflectionOcean
Автор

Is the actual state also stored in etcd ? How are the components aware of the actual state ?

SumitSharma-hdcl
welcome to shbcf.ru