Day 2 | Kubernetes Architecture explained

Sdílet
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

Komentáře • 38

  • @anilkommalapati6248
    @anilkommalapati6248 Před 3 měsíci

    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.

    • @sre101
      @sre101  Před 3 měsíci

      Thank you :) means a lot!

  • @S007001
    @S007001 Před 3 měsíci

    The video touches all the key points. Well explained Raghav !!

    • @sre101
      @sre101  Před 3 měsíci

      Thank you Suman, means a lot! :)

  • @VishalSharma2497_
    @VishalSharma2497_ Před 3 měsíci +2

    Well Explained !!

    • @sre101
      @sre101  Před 3 měsíci

      arre thanks bhai!

  • @suhasadduri1691
    @suhasadduri1691 Před 3 měsíci

    Raghav you are best !! you can make even school kid to understand such a complex product !!! looking for mroe such quality narrations ...

    • @sre101
      @sre101  Před 3 měsíci

      Wow thank you so much for the kind words Suhas :) means a lot!

  • @RAHUL841991
    @RAHUL841991 Před měsícem

    Nice Explanation and great presentation.!!
    Keep doin great stuff !

    • @sre101
      @sre101  Před 29 dny

      Thanks Rahul, means a lot!

  • @sawant_sameer
    @sawant_sameer Před 4 měsíci

    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

    • @sre101
      @sre101  Před 4 měsíci

      Thank you so much for your kind words Sameer! It means a lot :)

  • @devops_with_syed
    @devops_with_syed Před 3 měsíci

    Very well put my friend, more power to you 👍

    • @sre101
      @sre101  Před 3 měsíci

      Thanks a lot Syed🙌

  • @abiruthtamofo6272
    @abiruthtamofo6272 Před 2 měsíci

    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!

    • @sre101
      @sre101  Před 2 měsíci

      Thank you man! That means a lot to me :)

  • @juanluisesteban7394
    @juanluisesteban7394 Před měsícem

    Really awesome short overview

  • @vikrams1623
    @vikrams1623 Před 3 měsíci +1

    Please prepare a session for end to end Kubernetes deployment using Argo CD.

    • @sre101
      @sre101  Před 3 měsíci

      Thanks for the feedback Vikram, this is a very practical one and I'll be working on this soon!

  • @avikhandelwal6155
    @avikhandelwal6155 Před 4 měsíci +1

    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.

    • @sre101
      @sre101  Před 4 měsíci +1

      BINGO! Once you understand these flows, 70% of the troubleshooting issues no longer take much time

  • @sre101
    @sre101  Před 4 měsíci +1

    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

    • @natural_stupidity_
      @natural_stupidity_ Před 4 měsíci +1

      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.

    • @sre101
      @sre101  Před 4 měsíci

      @@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

  • @jitendernegi9074
    @jitendernegi9074 Před 24 dny

    This is awesome , just a question was there no role of the kube-proxy ?

    • @sre101
      @sre101  Před 16 dny

      Thank you!

    • @sre101
      @sre101  Před 16 dny +1

      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.

  • @piyushbagani9244
    @piyushbagani9244 Před 23 dny

    So Who creates pod? Container runtime and kubelet?

    • @sre101
      @sre101  Před 16 dny

      Ultimately the Kubelet is responsible for starting the Pod and the containers inside it in a worker node.
      So yes, Kubelete + Container runtime

  • @natural_stupidity_
    @natural_stupidity_ Před 4 měsíci

    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.

    • @sre101
      @sre101  Před 3 měsíci

      That's the correct flow! In computer systems, understanding request flows solves 70% of your troubleshooting problems.

    • @Nick-re3hb
      @Nick-re3hb Před 3 měsíci

      ​@@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

    • @sre101
      @sre101  Před 3 měsíci

      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 :)

    • @nidhichaudhary5713
      @nidhichaudhary5713 Před 2 měsíci

      @@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?

    • @sre101
      @sre101  Před 2 měsíci

      @@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 :)

  • @themoon6612
    @themoon6612 Před 24 dny

    hey Raghav one sugguestion , could you pls lower/remove the background sound that is added in video in upcoming series?

    • @sre101
      @sre101  Před 16 dny +1

      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