Kubernetes StatefulSet simply explained | Deployment vs StatefulSet

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

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

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

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

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

    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!

  • @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 💪🏼

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

  • @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. 😇

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

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

    Thank you nana!

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

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

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

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

    Thanks!

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

  • @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. 😇

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

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

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

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

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

  • @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. 😇

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

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

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

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

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

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

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

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

  • @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. 😇

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

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

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

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

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

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

    best channel for kubernetes
    thanks

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

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

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

    Very well explained in simple way. Best video.

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

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

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

  • @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  4 года назад

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

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

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

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

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

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

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

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

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

    Thanks

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

      Thanks Alex, appreciate your support!

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

      @@TechWorldwithNana Thanks for all the value that you bring to the IT comunity worldwide. Keep it up, Nana 🥇

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

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

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

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

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

  • @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 ! 👏👏👏

  • @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 💪🏼🤗

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

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

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

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

    Great Job. excellently explained. you're a gem

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

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

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

    Thank you very much! You are an excellent teacher!

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

    Brilliant and just wonderful waiting for next video

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

    You're the best! Subscribed

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

    Hi Nana! Great topic and explanation! Thank Youuuu!

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

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

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

  • @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. 👍

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

    The best kuberneres lecturer

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

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

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

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

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

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

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

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

    Watched All Of Urs Videos.Great Explanation. HatsOff.

  • @RenatoMatos79
    @RenatoMatos79 4 года назад +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.

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

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

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

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

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

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

    Easy to understand and very detailed information. Thanks!

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

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

    Excellent video. Thanks for helping us understanding the topic.

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

    Thanks for the efforts. Nicely and crisply explained.

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

    I got to say only one word: Great!

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

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

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

    Thank you for the amazing explanation!

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

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

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

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

    Got it, the different between deployment and statefulset. thanks

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

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

    very comprehensive video and great slides

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

    Nice explanation! -- Do you create your presentations in a video editor or use presentation software and then record your screen as you step through the presentation?

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

      First I record my speech and if there are demo parts also my screen. Afterwards I do the editing and visualization/animations to my recorded voice . Everything with Screenflow

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

      @@TechWorldwithNana Cool, thanks for the response!

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

    excellent Lectures, Very useful ! thank you

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

    Superb!!

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

    Good job!!!. Excellent work!!!

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

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

    So when do you choose deployments objects with pods and volume claims over state full sets

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

      the whole video answers your question mate. To put it in simple terms, your front end applications, backend apps, mirco services are perfect candidates for deployment and volumes in deployment on the other hand can be useful to find data like certificates, logs, custom configs, etc..you can however also choose volumes for storing data

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

    Very well explained.. Thanks

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

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

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

    Thanks, perfect explained.

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

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

    nicely explained as always, thanks.

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

    Good overview use case of StatefulSets ! 👍🏽

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

    You are the best!

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

    awsome video so many things learning from this.

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

  • @Kumbutranjaami
    @Kumbutranjaami 2 месяца назад +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 2 месяца назад +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 2 месяца назад

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

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

    I like the presentation Animation

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

    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.

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

    Hey Nana! As i told u that your channel is gonna take off like rocket in a very few times. Like your kubernetes series. Can u describe one Real-Time project? It will be good if u make terraform integration with k8s.

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

      Thank you Prasanna! I plan to do videos about Terraform 👍

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

      @@TechWorldwithNana I am waiting for the Terraform tutorials.

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

    muy claro, muchas gracias!

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

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

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

    as always, very good explicacoines. Thank you

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

    Great work Nana!!

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

    Nice one ! clear explanation.

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

    Nana, clear cut explanation. I need a suggestion, I am planning to bring my microservice architecture into Kubernetes eco. Should I keep my database outside or I can keep it in as Sts?