Kubernetes StatefulSet simply explained | Deployment vs StatefulSet

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 254

  • @karthikmohan2133
    @karthikmohan2133 4 года назад +40

    Stumbled on to this channel today, never found any better. Thanks a lot creator.

  • @jhonsen9842
    @jhonsen9842 2 года назад

    I wish i could have seen this vidios 1 year before. To explain complex thing in a simple way you don't have to Genius . Fantatic and Superb effort.

  • @rahulek914
    @rahulek914 4 года назад +47

    This whole series covering docker and kubernetes is excellent, precise and easy to understand. Congratulations and thanks for your efforts. You have great teaching abilities. I specifically liked videos that cover practical aspects - for example, application deployment using k8s and docker-compose etc. Keep up your excellent work.

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад +3

      Thank you so much Rahul for your feedback! 🙏 Happy that it was so useful to you!

  • @tibbydudeza
    @tibbydudeza 4 года назад

    Thanks for giving an clear explanation and using slides and not whiteboard scribbles.

  • @r.c8756
    @r.c8756 3 года назад +1

    Jeez, as part of a dev team who’s currently struggling with devops issues cause our affiliate company that’s supposed to host our apps are completely useless and unresponsive of our requests, your vids really make my life better ! Thanks !

  • @rsivakanth
    @rsivakanth 4 года назад +2

    Just started with one video and can't stop till I watch all of them, crystal clear. Looking forward to many more, Thanks!

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      Thank you Sivakanth. I hope you won't get tired of supporting the channel. Keep safe and blessed. 😇

  • @TechWorldwithNana
    @TechWorldwithNana  4 года назад +4

    Kubernetes Operator explained (manager for your stateful application 🚀) ► ruclips.net/video/ha3LjlD6g7g/видео.html
    Using StatefulSet in practice 🙅🏼‍♀️ ► ruclips.net/video/JGtJj_nAA2s/видео.html
    ▬▬▬▬▬▬ T I M E S T A M P S
    0:00 - Intro
    0:07 - What is StatefulSet? Difference of stateless and stateful applications
    1:57 - Deployment of stateful and stateless applications
    3:42 - Deployment vs StatefulSet
    5:40 - Pod Identity
    6:14 - Scaling database applications: Master and Slave Pods
    10:15 - Pod state
    11:40 - Pod Identifier
    13:17 - 2 Pod endpoints
    14:27 - Final note - replicating stateful apps
    15:26 - What we covered and what to learn next
    👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
    👉🏼 Also please let me know what you want to learn about DevOps.
    Please don't forget to subscribe and give me a thumbs up if you liked my video 🤓

  • @soulfulman4834
    @soulfulman4834 3 года назад

    Mind blowing explanation of each topic which I have learn for K8s... Thanks a lot Nana & love❤️ from India 🇮🇳🇮🇳

  • @saikrishnavits
    @saikrishnavits 4 года назад +5

    Such an awesome explanation. I, being a devops engineer myself found this very useful. Thanks for a lot of hardwork that you're doing behind these videos to present to audience like me.

  • @acassioqueirozz
    @acassioqueirozz 4 года назад +17

    Congratulations for you job Nana!
    I've been learning about Kubernetes since few months ago and your channel is one of the best about this topic!
    I wish you continue growing and creating very good contents to youtube!

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад +3

      Thanks, I'm glad you think so! Do my best to deliver quality content for you 💪🏼

  • @amitpawar1677
    @amitpawar1677 3 года назад +1

    Thanks for such simple explanation. Great job Nana...

  • @helsonkumar8173
    @helsonkumar8173 4 года назад +4

    Hey..!!! You know what.....You deserve a big applause...!!! U covered almost everything abt Statefulset in this short video in detail..Can't resist watching your next video..Cheers...:)

  • @krisdoe
    @krisdoe 4 года назад +11

    Maybe it is really important to mention that:
    1. Know the database (if you are going to deploy database in K8s). Not all works the same way. For example, sharding as concept (found in Elastic) is very important.
    2. Know your application requirements. Where is not possible to have stateless application, state-full self-contained application (deployed as StatefulSet) might make sense.

  • @amanuelyohannes7151
    @amanuelyohannes7151 Год назад +1

    Totally impressed with the delivery of concept!!! Thank you!!

  • @ramm0000
    @ramm0000 4 года назад +7

    Perfectly explained high level concepts . Can completely now relate to all the connected components and able to visualise entire structure .

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      Thanks, that's awesome, glad that my video helped you in getting a big picture 👍

  • @Andraite
    @Andraite 2 года назад +1

    Very well explained in simple way. Best video.

  • @ashafir20
    @ashafir20 3 года назад

    best development /devops youtube channel ever, great content by Nana!

  • @ezehemeka7833
    @ezehemeka7833 9 месяцев назад +1

    I appreciate your efforts in explaining these concepts in your videos. Thanks for everything you do Nana, 1m subs in a bit.

  • @ramkumar-kr6pl
    @ramkumar-kr6pl 4 года назад +1

    Hi Nana, I started to follow your videos from 2dys back, all them are crystal clear to understand. Am preparing for an interview now so need detailed video about pod security policy.
    Cheers !!

  • @BharatSingh-hf1yt
    @BharatSingh-hf1yt 3 года назад +1

    best channel for kubernetes
    thanks

  • @gganesh9
    @gganesh9 3 года назад

    u are doing a gr8 job with the presentations. it is a lot of effort to make powerpoints for every video and all the notes. thank you.

  • @nagarajdoddi4985
    @nagarajdoddi4985 4 года назад +2

    Thank you for all the videos Nana. Really your videos are much better than any other videos in you tube or even paid ones. Really everytime i wait for your videos when you are going to upload on K8s :) Thanks again for the videos

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      That's so sweet of you Nagaraj. I try my best to make things clear as possible. I'm happy that you see it that way. Thank you so much. 😇

  • @gv.ramana
    @gv.ramana 4 года назад +1

    awesome amazing tutorial very detailed explanation. One of the best channel in youtube. your work behind the presentation is simply awesome

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      Thank you, that's very sweet to say. Much appreciated. 😇

  • @vishnuanil7691
    @vishnuanil7691 3 года назад

    That was a really really nice explanation that I could not even find from the Kube documents. thanks

  • @andreaselvers3201
    @andreaselvers3201 2 года назад

    Thanks for this great overview of StatefulSet.Must interesting was the claim that sateful applications are not perfect for containerised environments. This is a very important information if you start learning containerisation.

  • @pravataranjandashfse2677
    @pravataranjandashfse2677 4 года назад +2

    Such a clear and detailed explanation in so short period of time. Awesome👍

  • @venkateshnaicker7085
    @venkateshnaicker7085 2 года назад

    Very very neat and simplified explanation! Awesome contents, Nana!

  • @shaileshchaskar6093
    @shaileshchaskar6093 3 года назад +1

    Exaclty what I was looking for - very simple and precise explanation.Thanks alot.

  • @ajaye6612
    @ajaye6612 4 года назад +3

    Thanks TechWorld Team!
    Amazing explanation, Understood the concepts of the Stateful set after a few months

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      You're welcome Ajay. Wishing you all the best in your profession. 😇

  • @user-nh1yz5vo4o
    @user-nh1yz5vo4o 3 года назад

    The best kuberneres lecturer

  • @RamanKathpalia
    @RamanKathpalia 4 года назад +2

    Wow! Real good content. This channel is indeed underrated.

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      Thank you so much Raman! 🙏🙂 Hope it will gain more attention soon from youtube, so that it will be suggested to people who are interested in k8s. I would also be thankful for any support by liking and sharing to people, who want to learn about Docker & K8s :)

    • @RamanKathpalia
      @RamanKathpalia 4 года назад +1

      @@TechWorldwithNana Hello Nana, I've been sharing your videos with my team. We find them better than, let's say udemy. Thank you for posting.

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      @@RamanKathpalia 🙂 thanks

  • @RenatoMatos79
    @RenatoMatos79 3 года назад +1

    She is a kubernetes wizard who has passion in sharing content. Who is doing a backup of this girl? :) thanks Ana for spending time preparing a high quality material.

  • @Farrukhw
    @Farrukhw 4 года назад +5

    Nana, thanks a bunch for such an awesome tutorial/explanation. This has cleared many of my concepts. Before this, I was thinking to have a single Volume for all the Stateful app replicas.
    Really appreciated your work... :)

    • @cagonvinon
      @cagonvinon 3 года назад

      Thanks lot to nana. I appreciate and have pleasure to follow all your contents. So if I create a same pv for all replicas what's the inconvenient?

  • @mohammedsuhailbasha4860
    @mohammedsuhailbasha4860 4 года назад +4

    Amazing explaination. Thank you so much for you. please make and upload videos on how to implement the statefulsets and how it configuration file looks like and how the master and slave methodology for databases was implemented in statefulsets. I have lot of questions in this area only.please make and upload videos on my above requests.

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад +1

      Thanks Mohammed! As mentioned in the video I will make a more practical video about StatefulSets

  • @bukowski_
    @bukowski_ 2 года назад

    You are amazing¡¡ you don't know how much I've learned thanks to you¡¡ You have the ideas super clear and the resources are the best. Thank you so much¡¡

  • @bapisahoo9233
    @bapisahoo9233 4 года назад +7

    Great Job ! Explained very clearly. Waiting for the next video on StatefulSet configuration file. Thank u..

  • @56YTFGFH4
    @56YTFGFH4 3 года назад

    Wow. So much work and detailing in explaining things. Thanks for this. Very helpful.

  • @diogofiaminghi442
    @diogofiaminghi442 7 месяцев назад +1

    Thank you very much! You are an excellent teacher!

  • @palagirinagarjunareddy725
    @palagirinagarjunareddy725 3 года назад

    Very clear nd nicely explained.. thanks for your efforts🙏

  • @prateekdwivedi2911
    @prateekdwivedi2911 4 года назад +2

    Thanks a ton .... These videos are super helpful... Please keep on making videos..

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад +1

      Thanks, will keep creating quality videos 💪🏼🤗

  • @rohitvishwakarma2871
    @rohitvishwakarma2871 2 года назад +2

    You're the best! Subscribed

  • @stephanelenglet3017
    @stephanelenglet3017 2 года назад

    Thank you so much Nana , you're videos are excellent ! All your series on Kubernetes are like this ! You succeed to explain main concepts in a easy way and it's not so easy to do ! 👏👏👏

  • @hesse_df3274
    @hesse_df3274 7 месяцев назад

    Great video. One point I am messing is about how the service share the request to the pods ?

  • @devanshumishra6430
    @devanshumishra6430 4 месяца назад

    Watched All Of Urs Videos.Great Explanation. HatsOff.

  • @Amit-qv8cp
    @Amit-qv8cp 6 месяцев назад

    Got it, the different between deployment and statefulset. thanks

  • @iammrchetan
    @iammrchetan 3 года назад

    Nice Video with good explanation!
    Keep doing good work, Nana! Loved this!

  • @anilkommalapati6248
    @anilkommalapati6248 4 года назад +2

    So easily explained and with great clarity. You are a GEM 💎and a great inspiration. The animations are something that makes you very different and special. Thanks a lot Mrs.Nana for taking the pain to put those efforts in. Highly appreciated.👏👏👏👌👌👌

    • @TechWorldwithNana
      @TechWorldwithNana  3 года назад

      Thank you so much Anil 🙂 I'm happy to hear such positive feedback!

  • @koorshashirazi2037
    @koorshashirazi2037 4 года назад

    Completely comprehensive and useful. thank you.

  • @jasmineverdant
    @jasmineverdant 4 года назад +2

    Great Job. excellently explained. you're a gem

  • @thiagarajlakshmanan2449
    @thiagarajlakshmanan2449 3 года назад

    You have answers for my each question, as a video! Thank you...Subscribed!!!

  • @leandromuniz6295
    @leandromuniz6295 4 года назад

    Easy to understand and very detailed information. Thanks!

  • @aabajolatareaa
    @aabajolatareaa 2 месяца назад

    Hey nana, this video was awesome, greetings from Argentina!.

  • @sofianeel9680
    @sofianeel9680 4 года назад

    Thanks a lot for this video it really helped me to understand the purpose of the Statefulset and I can say that it is a really nice feature that k8s propose.
    As I started to learn about k8s, it's a good learning step done today after watching this video.

  • @mayureshpatilvlogs
    @mayureshpatilvlogs 4 года назад +3

    thanks for such easy explanation. keep it up 👍

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      Hi Mayuresh, glad my explanation was helpful and easy to follow :)

  • @ayanSaha13291
    @ayanSaha13291 Год назад

    Excellent video. Thanks for helping us understanding the topic.

  • @MrVineet09
    @MrVineet09 4 года назад +2

    Thank you very much, finally able to understand what I was looking for..

  • @elielberra2867
    @elielberra2867 28 дней назад

    Amazing explanation, thank you so much for posting this video!

  • @Henteti-amin
    @Henteti-amin Год назад

    very comprehensive video and great slides

  • @es3t
    @es3t 2 года назад

    @TechWorld with Nana there is probably a issue in description on 13:38. The service has name "svc1" but the pods dns names have `${pod_name}.svc2` rather `.svc1`

  • @analyticsjassal1720
    @analyticsjassal1720 4 года назад

    Thanks for the efforts. Nicely and crisply explained.

  • @MrDevo
    @MrDevo Год назад +1

    Thank you for the amazing explanation!

  • @keerthisumanth8106
    @keerthisumanth8106 4 года назад +2

    Brilliant and just wonderful waiting for next video

  • @dharmangroy9049
    @dharmangroy9049 2 года назад

    Hello Mam,
    A very well-explained concept for stateful sets. The most important part comes at the end that, the containerization platform is not suitable for stateful apps. Kudos to your explanation power. Keep posting such videos. 👍

  • @babug6070
    @babug6070 4 года назад +1

    Here, I have learned a lot of things for Kubernetes. Thanks for doing these tutorials. Can you please make a video for MySQL Master and Slave Concept?.

  • @cascossi809
    @cascossi809 4 года назад +1

    Simply magistrally explained and with outstanding infography. Thank you very much indeed. Cannot wait to watch the rest of the series. Subscribed!

  • @bzqr2k
    @bzqr2k 4 года назад +2

    Hi Nana! Great topic and explanation! Thank Youuuu!

  • @DeepakGC
    @DeepakGC 3 года назад

    Thank you!! you made it super easy to understand the concept, subscribed :)

  • @ZeusCanonliil
    @ZeusCanonliil 3 года назад +1

    awesome explanations, thanks for this, I'm learning so much from you 🙏

  • @sabburaj
    @sabburaj 4 года назад +2

    As usual, very nice content, Nana! Thank you so much for this excellent video. You have explained it very well.

  • @nalcow
    @nalcow 2 года назад

    excellent Lectures, Very useful ! thank you

  • @doviche
    @doviche 4 года назад +2

    I got to say only one word: Great!

  • @farrukhahmedsid
    @farrukhahmedsid 4 года назад +1

    Very well explained.. Thanks

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      Thank you Farrukh. Please don't forget to subscribe and share. 😇

  • @a143r
    @a143r 3 года назад +2

    I like the presentation Animation

  • @suryapratap3622
    @suryapratap3622 Год назад +1

    awesome video

  • @samuelkibirige5720
    @samuelkibirige5720 Год назад

    Great channel!!! Great content. Thank you so much Nana. Been looking for the “How to create a StatefulSet” video but I haven’t seen it. Can anyone direct me.

  • @MrChinook1991
    @MrChinook1991 3 года назад +3

    Fantastic video, thank you! What happens in this scenario: a stateful application continually receives requests to update a database (e.g. MySQL) that is hosted on the k8s cluster as a StatefulSet. What happens in the time between Master pod failure and spinning up a new Master pod? Are the update database requests buffered until a new Master pod is available that can write the updates to the DB?

  • @akshayhiremath4584
    @akshayhiremath4584 4 года назад

    Good overview use case of StatefulSets ! 👍🏽

  • @riyashussain7406
    @riyashussain7406 3 года назад

    Very crisp Video, covering lots of information! - One question, If the Master statefulset Pod dies, then who would(i.e. which slave) get the write power to the DB (i.e. persistent volume), and to which DB it shall write?

  • @sambasivarao.kurapati
    @sambasivarao.kurapati 3 года назад

    Thanks for the good video.
    How can we upgrade Statefulset pods without traffic disturbance, like how to handle switchover b/w PRIMARY and SECONDARY?

  • @chiragprajapati9316
    @chiragprajapati9316 3 года назад

    awsome video so many things learning from this.

  • @Sudheer_maneesha7
    @Sudheer_maneesha7 4 года назад

    Excellent explaination.I had a small doubt
    If i understand correctly, for stateless applications ,all replica's of pods will use single pv. how all pods deployed on different nodes will be able to access single pv(AWS-EBS) case of stateless applications? .ebs is not allowed to share to multiple nodes

  • @syedibrahim-il2gj
    @syedibrahim-il2gj 4 года назад

    Very Well Explained

  • @na111111
    @na111111 4 года назад +2

    very helpful. Thank you and keep making these short videos :)

  • @abhijitzanak
    @abhijitzanak 4 года назад +2

    nicely explained as always, thanks.

  • @Kumbutranjaami
    @Kumbutranjaami Месяц назад +3

    Can you refer me a trustable source where you have seen pods part of statefulset replicates their STORAGE to next pod in the same statefulset?

    • @Clarifier-hv5cl
      @Clarifier-hv5cl Месяц назад +1

      She failed to explain the gist of stateful sets by focusing too much on the example. The storage is NOT replicated on its own, but in the case of a distributed MySQL database the slaves communicate with the master to obtain a copy of the data. The storage replication is part of the "application" itself, not the StatefulSet logic. The role of StatefulSets, among other things, is to ensure that pods are created in a particular order (changeable by a policy), help us configure a headless service allowing us to communicate with individual pods by creating DNS entries, and ensuring that each pod can request its own STORAGE by providing a PVC template as part of the StatefulSet. So good call on your part, Kubernetes does NOT take care of storage replication.

    • @Kumbutranjaami
      @Kumbutranjaami Месяц назад

      @@Clarifier-hv5cl You are right. Your explonation was so clear. Storage replication has to be handled by application itself.

  • @Sami-bc9iv
    @Sami-bc9iv 4 года назад +1

    Good job!!!. Excellent work!!!

  • @JeffSmathers
    @JeffSmathers 4 года назад +1

    I strongly agree with that so many others have said. You have created an excellent series on Kubernetes. Thank you very much. Do have plans to add a video about DaemonSet?

  • @vibhormathpal2021
    @vibhormathpal2021 4 года назад

    Great video!! What if the last pod went down due to node failure than how will the new pod clonned and how this works in multi AZ in AKS? Also how db sharding would work in case of DB in K8S cluster

  • @johnfinny100
    @johnfinny100 4 года назад +1

    Enjoying your video's .. Could you please make a video on RBAC and security concept.. Thanks !!

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      You're welcome John. Will consider your suggestion. 😊

  • @thomash.8297
    @thomash.8297 4 года назад +2

    Thanks, perfect explained.

  • @midhunk7984
    @midhunk7984 4 года назад

    Nice one ! clear explanation.

  • @AmolGautam
    @AmolGautam 2 года назад

    Thank you. This is really helpful

  • @juancamilo1370
    @juancamilo1370 4 года назад +1

    muy claro, muchas gracias!

  • @yogireddy8129
    @yogireddy8129 3 года назад

    great explanation many thanks ...

  • @rbascu84
    @rbascu84 4 года назад

    as always, very good explicacoines. Thank you

  • @julionicodantas
    @julionicodantas 11 месяцев назад +1

    You are the best!

  • @pallavkan
    @pallavkan 4 года назад +4

    Superb!!

  • @himamanikantavaskuri1504
    @himamanikantavaskuri1504 3 года назад

    Great Explanations

  • @niceOneSonnyAgain
    @niceOneSonnyAgain 4 года назад

    Wow thanks for sharing such a great video here!!!

  • @ajayjeetsharma
    @ajayjeetsharma 3 года назад

    Great work Nana!!