Day 2 | Kubernetes Architecture explained
Vložit
- čas přidán 19. 06. 2024
- Learn the Architecture and main components of a Kubernetes Cluster
Understand how Kubernetes operates at large scale, how it is deployed, how the different components interact with each other to run your containerized applications and finally how a request flows through the system.
TIMESTAMPS ⏰
00:00 Intro
00:39 What is a Cluster?
00:55 Node & Control Plane
01:58 Inside a Worker node
03:53 Inside the Control Plane
07:07 Request flow
👉 REFERENCES
1. Kubernetes Architecture docs 🔗 kubernetes.io/docs/concepts/architecture
2. Docker 🔗 docker.com
3. Minikube 🔗 minikube.sigs.k8s.io
4. ContainerD 🔗 containerd.io
5. Mirantis 🔗 containerd.io
6. Cri-O 🔗 cri-o.io
👉 SUBSCRIBE TO MY CHANNEL
/ raghavdua1
👉 CONNECT WITH ME
Linkedin 🔗 / raghavdua
Github 🔗 github.com/duaraghav8
#kubernetes #architecture #devops - Věda a technologie
This is truly a masterpiece. Especially how docker images build and deployed in K8 cluster.
Really amazing with great presentation. Thank you very much my pal.
Thank you :) means a lot!
The video touches all the key points. Well explained Raghav !!
Thank you Suman, means a lot! :)
Well Explained !!
arre thanks bhai!
Raghav you are best !! you can make even school kid to understand such a complex product !!! looking for mroe such quality narrations ...
Wow thank you so much for the kind words Suhas :) means a lot!
Nice Explanation and great presentation.!!
Keep doin great stuff !
Thanks Rahul, means a lot!
This was awesome explanation Raghav. thanks for keeping it so simple and not getting into jargons. Wishing you millions followers very soon. Keep up the good work
Thank you so much for your kind words Sameer! It means a lot :)
Very well put my friend, more power to you 👍
Thanks a lot Syed🙌
Hi, Raghav! I've just comed accross your video and really like the way you teach. I already subscribed to your channel. Please don't stop the good work! Go ahead! I just talked about your channel to a freind and shared the link of your first video on Kubernetes with him. Thank you, so much!
Thank you man! That means a lot to me :)
Really awesome short overview
Thanks man!
Please prepare a session for end to end Kubernetes deployment using Argo CD.
Thanks for the feedback Vikram, this is a very practical one and I'll be working on this soon!
K8s detects the container pod has crashed, this can be done using health check probes. It then restarts the pod using the restart policy ("Always"). Again scheduler attempts to find the right node for the pod. Once the pod is scheduled, the controller manager notifies the API server to move pod to the desired state. API server informs kubelet to make the pod into running state.
BINGO! Once you understand these flows, 70% of the troubleshooting issues no longer take much time
Let me know if you have any suggestions for me. Whether you think something could be improved in my videos or you'd like me to cover any specific topics in DevOps.
Feel free to comment here or connect with me on Linkedin for more discussions - linkedin.com/in/raghavdua
You explain things really well.
I hope once you go into technical and hands on part, the videos will be longer.
Because it's better to learn in depth, also people who want to learn will have patience to watch long videos.
Also please don't use too much layman term to explain technical concepts, if it's gets little difficult to then no problem, somone who wants to learn they won't have a problem in doing a little research, I have seen vidoes where people try to explain cloud computing using example of people living in society etc., I really don't like that approach. 😂
You can create short videos separately to explain quick concepts in less time, maybe create a short video series where you explain one particular topic within a minute, e.g. Explain what Scheduler do in k8s within a minute.
These are just my personal suggestions, maybe that's my preference about learning things, again the way you explain things is great.
@@natural_stupidity_ These are some very valuable suggestions, thanks a ton!
This is actually one of the debates I have with myself before every video - should I just assume technical terms and give 1-2 lines of description about them.
And yes, the hands-on videos are much longer :)
Really appreciate your insights on this
This is awesome , just a question was there no role of the kube-proxy ?
Thank you!
Kube proxy does have a very important role of handling the networking for each pod, maybe I should've shed some light on that as well.
So Who creates pod? Container runtime and kubelet?
Ultimately the Kubelet is responsible for starting the Pod and the containers inside it in a worker node.
So yes, Kubelete + Container runtime
If the running pod crashes then depending on the restart policy the kubelet will try to restart the pod, but if it fails to do show then a new pod will require to be launched, the scheduler will schedule this pod and then the CM will instruct the kubelet via api server to launch this new pod.
I might be wrong, let me know.
That's the correct flow! In computer systems, understanding request flows solves 70% of your troubleshooting problems.
@@sre101 Hi Raghav loved your explanation. Can you please cover some advance production grade topics or maybe some projects. These days recruiters are looking for some experience and fresher can showcase their experience by learning production grade things and making projects
Hey @@Nick-re3hb thanks a lot. Yeah, I've recently been getting more of this feedback, so I'm working on more advanced concepts & project-based videos.
They will be out very soon :)
@@sre101 Hi Raghav, I really liked your way of explaining things, but can you please dive more deeper at the networking part of how different componets are connected and how communication between pods, services to pod or vice versa works, network policies?
@@nidhichaudhary5713 Thank you and that's a great suggestion! I'm already working on this and it will be released soon as part of the Kubernetes Series. I'll make sure to cover these points :)
hey Raghav one sugguestion , could you pls lower/remove the background sound that is added in video in upcoming series?
Thanks, I had been debating this with myself so your feedback is super useful here! I plan to get rid of background music for future videos