Kubernetes YAML File Explained - Deployment and Service | Kubernetes Tutorial 19

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 271

  • @TechWorldwithNana
    @TechWorldwithNana  5 ปีที่แล้ว +50

    0:27 - 3 parts of a Kubernetes configuration file
    0:45 - metadata and specification
    1:54 - status
    3:35 - format of configuration file
    4:46 - blueprint for pods (template)
    5:59 - connecting services to deployments and pods (label & selector & port)
    6:18 - connecting deployment to pods
    6:59 - connecting services to deployments
    7:37 - ports
    8:50 - demo
    👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
    Please don't forget to subscribe and give me a thumbs up if you liked my video 😊

    • @bhaskar6705
      @bhaskar6705 5 ปีที่แล้ว +1

      TechWorld with Nana -Really simply awesome thank you so much for you ...will you able to help how to start working Kubernetes where I need install easy way will you please help me any doc or video

    • @nihilidron
      @nihilidron 3 ปีที่แล้ว

      You rock, Nana. This brought so much light in my rough start with k8s . Thanks :)

    • @ojaschopade1813
      @ojaschopade1813 2 ปีที่แล้ว

      Hi Nana, can you explain why restart policy for deployment object can not be set to Never?

    • @falsepositive01
      @falsepositive01 10 หลายเดือนก่อน

      Have you been making malware analysis videos before?

  • @zackyang123
    @zackyang123 4 ปีที่แล้ว +55

    Nana, without sarcasm -- you are doing god's work thank you. K8s docs do not cut it for actually understanding anything.

    • @rhoonah5849
      @rhoonah5849 3 ปีที่แล้ว

      Agreed on both points. I have been ripping what remains of my hair out of my head just trying to understand the keys in the YML file.

  • @TimRichardson_GrowthPath
    @TimRichardson_GrowthPath 2 ปีที่แล้ว +11

    it's kind of ridiculous how good this series is. Amazingly good. If this had been my first step towards Kubernetes, I would have saved quite a lot of time. Nana has a video on why she chose devops as her career, which I have not yet watched, but if she is better at devops than she is at teaching, she must be off the charts good at devops. I suppose she really likes devops and is motivated to make this astoundingly good material to encourage others to follow her.
    Thank you so much for this.

  • @bgable7707
    @bgable7707 2 ปีที่แล้ว +4

    OMG!!! Your explanation on "label & selector & port" , @6:00, helps me understand the relationship in Home Assistants' YAML files and the components with in them. These points are greatly missing from their docs. THANK YOU!!! From ALL the reading and research, I finally found the answer. Please keep up the great work. I'll look for your courses in udemy for sure.

  • @tanngo595
    @tanngo595 3 ปีที่แล้ว +1

    I gotta say, the more videos I watch your videos , the clearer it is about Kubernetes.
    Keep up the awesome work!

  • @mostinho7
    @mostinho7 4 ปีที่แล้ว +5

    I downloaded a paid course but since i found your videos i've been following them instead.
    Thank you for making this publicly available on the youtubes.
    Done thanks, notes copied to onenote

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Appreciate your feedback Mostafa! Happy to see that my videos are so informative for you :)

  • @BM-el9kl
    @BM-el9kl 4 ปีที่แล้ว +6

    Hi Nina, I started my career as a platform engineer last month and had no idea how to learn Kubernetes by myself (cuz my background is front-end and had 'some' knowledge in docker containers). When I got some tasks related to template/config in YAML format, I literally didn't know how to start or where to begin. Thanks to your amazing lectures, now I feel I'm getting used to the concept of K8S. Thank you very very much Nina. I hope you have a great day.

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      I'm very grateful for the opportunity to be able to help you. You're welcome and thank you as well. 🙂

  • @polartechie
    @polartechie 2 ปีที่แล้ว

    It is legit comforting to click on a new subject and hear Nana's voice because I know that it will be great and I'll soon have all the context :D

  • @basilio100
    @basilio100 4 ปีที่แล้ว +31

    Re: 6:59 - connecting services to deployments
    Small correction - I think it is important to note.
    Service manifest in service.spec.selector is using labels of pods, not deployment.
    So frames at 7:12 -7:36 should not have arrow pointing to deployment (upper arrow)

    • @biigsmokee
      @biigsmokee 3 ปีที่แล้ว +1

      so should it be pointing to Deployment.spec.template.metadata.labels.app at 7:12 instead?

    • @codingstyle9480
      @codingstyle9480 2 ปีที่แล้ว

      What about the deployment label app:ngin-x: is it used anywhere? It is said in the video that everything starts with deployment label. It is related first to pods label and then pods to matchLabels. Is that true?

    • @mightyplejaden
      @mightyplejaden 2 ปีที่แล้ว +1

      @@biigsmokee yes

    • @TimRichardson_GrowthPath
      @TimRichardson_GrowthPath 2 ปีที่แล้ว

      that makes sense. Why would a service connect to a deployment?

    • @norman28575
      @norman28575 2 ปีที่แล้ว +2

      Yes, here would have liked to see the mandatory naming. If everything is name nginx its everything else but clear which nginx was ment. It would have been helpfull to use as many different names as possible to see what matches to what.

  • @Ruben-by4oy
    @Ruben-by4oy ปีที่แล้ว +1

    I'm amazed how simole those explanations are. I figured out all myself but anyway it's worth to go through one more time.
    Thanks

  • @jayaprakashdeav
    @jayaprakashdeav 2 ปีที่แล้ว

    Wow what a greate explanation, Thanks for the nice and perfect video.
    so i understoond clearly
    *)what is Label & selector
    *)connection B/W Deployment and Pods connection
    *)connection B/W Deployment and services
    Please keep posting this usefull videos.

  • @manuelsteele8030
    @manuelsteele8030 6 หลายเดือนก่อน

    I reviewed a project for kubernetes at my company last week. I was overwhelmed with yaml files. I was confused about the pattern of attributes. This video helped me understand the inner details tremendously. Thank you.

  • @vvineetv
    @vvineetv ปีที่แล้ว +1

    As most of them commented already, you videos are indeed very very helpful and I would re-iterate that your way of explaining things are so good that it is easy to remember and co-relate things. Kudos and thanks a lot. Keep uploading videos like this and keep helping us. Thanks once again. 🙂👏

  • @Linyatyat
    @Linyatyat 3 ปีที่แล้ว

    Best K8 tutorials I have found! I will ensure to like each video I watch!

  • @amulsharma8172
    @amulsharma8172 4 ปีที่แล้ว +6

    Hi Nana, you are such a good trainer. Thanks a lot for the session. The way u r teaching it's really good nd concepts r crystal clear. May God bless u with happiness nd success.

  • @swapnilk1011
    @swapnilk1011 3 ปีที่แล้ว +1

    Nana, Thank you for superb, simple, clear tutorial of K8.

  • @bofletcher444
    @bofletcher444 ปีที่แล้ว

    This is the best explanation I have found. Better than the helm docs. Thank you.

  • @kirhie123
    @kirhie123 3 ปีที่แล้ว +2

    I have watched all of your videos on k8s and they are much much better than any paid videos on Udemy. Thank you for making such awesome videos. :)

    • @TechWorldwithNana
      @TechWorldwithNana  3 ปีที่แล้ว

      Thanks so much, really happy to hear that!! :)

  • @nO_d3N1AL
    @nO_d3N1AL 3 ปีที่แล้ว

    Thanks for this. I was so confused when I came across a YAML file with "spec: template: spec". I really wish the documentation explained it more simply. This video clears things up nicely

  • @ades3967
    @ades3967 3 ปีที่แล้ว +1

    just.. wow. Fantastic explanation, Nana!

  • @whoistechcmty
    @whoistechcmty 3 ปีที่แล้ว +3

    You are a fantastic instructor. Your explanation videos are direct and clear. You describe things clearly and provide context while keeping the primary focus of the lesson in mind.

  • @samjellabilla4572
    @samjellabilla4572 4 ปีที่แล้ว +1

    Nana, the great lecturer. Thnks so much for making such valuable information available to the world free of charge. If all were to be inclined to technological tastes to learn like the tastes of entertainments, u should have had by now million followers. However, gradually, u r getting there.

  • @rejawebs
    @rejawebs ปีที่แล้ว +1

    Detail expiations about both the deployment and service. Thanks a lot and wishing you best ...

  • @vbharath19
    @vbharath19 4 ปีที่แล้ว +3

    Am using these videos for my team's training. I don't think there is a better video than yours for kubernetes. Thanks and keep them coming 🙂

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Cool thanks for sharing Bharath, really glad they are so helpful!! 😊

  • @sambeetnayak1002
    @sambeetnayak1002 3 ปีที่แล้ว

    Hey ..I am new to k8s.. I feel like I should pay for watching Nana's videos..
    Excellent teaching skill. Not too depth nor too high level.. Just as much as it required the core concepts.
    Undoubtedly much better than so called paid courses..

  • @junli3714
    @junli3714 4 ปีที่แล้ว +1

    very nice demo and summarize, clear a lot confusion troubled me for a long time. Thank you Nana !

  • @SJJ0378
    @SJJ0378 3 ปีที่แล้ว +1

    you are awesome Nana. Thank you for sharing knowledge with us.

  • @smrutisamal6363
    @smrutisamal6363 4 ปีที่แล้ว +3

    Getting confident after watching your videos. First day and I am cofident. Thank you so much for nice explanation

  • @josealbornoz9372
    @josealbornoz9372 4 ปีที่แล้ว +25

    I've learned a lot here, thanks for making these videos :)

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +1

      Awesome José, glad you can learn a lot from my videos 😊

    • @manishroy1093
      @manishroy1093 3 ปีที่แล้ว

      @@TechWorldwithNana
      💐💐💐p 💐💐💐💐💐💐

    • @manishroy1093
      @manishroy1093 3 ปีที่แล้ว

      @@TechWorldwithNana p 💐💐

    • @manishroy1093
      @manishroy1093 3 ปีที่แล้ว

      ppppppp

    • @manishroy1093
      @manishroy1093 3 ปีที่แล้ว

      ppppppp

  • @mathewkargarzadeh3158
    @mathewkargarzadeh3158 5 ปีที่แล้ว +3

    Excellent illustration !!!. Kudos to you young lady !. Thank you. Mat.

  • @prasadrayudu2001
    @prasadrayudu2001 4 ปีที่แล้ว +2

    Thank you Nana for making best productive tutorials

  • @kuljeetkumar4657
    @kuljeetkumar4657 3 ปีที่แล้ว +1

    Your Content is very very precise and too the point. Thanks

  • @vvineetv
    @vvineetv 2 ปีที่แล้ว

    Great video Nana. Keep doing the good work and keep helping us. Thanks!

  • @shrushtithorat9682
    @shrushtithorat9682 3 ปีที่แล้ว +1

    Very helpful and precise way of explaining. Please keep making more such videos.

  • @javiercruz1194
    @javiercruz1194 3 ปีที่แล้ว +1

    Thanks a lot Nana. Your videos are so helpful and good explained that I can say I have learnt a lot with them than others.

  • @osman_gedik
    @osman_gedik 2 ปีที่แล้ว

    the way you explain is really amazing. You have my Respect ! Thank You

  • @precator3
    @precator3 4 ปีที่แล้ว +1

    I love all your videos, straight and to the point with any fluff.

  • @dongcai6203
    @dongcai6203 2 ปีที่แล้ว

    Thanks so much for your videos. I keep coming back and rewatch them.

  • @rowwer1420
    @rowwer1420 3 ปีที่แล้ว

    Many thanks, Nana. It starts to be less complicated for understanding)

  • @ASTechEdu
    @ASTechEdu 2 ปีที่แล้ว +1

    I have learned a lot here, thanks for making these videos. Great teaching

  • @athenahealth4246
    @athenahealth4246 3 ปีที่แล้ว

    omg. This tutorial is far better than the ones in udmy or pluralsite. I only wish I saw this earlier.

  • @dloperab
    @dloperab 3 ปีที่แล้ว

    Thanks Ana...without this series of videos, understanding the concepts of K8s would be very difficult

  • @bobby3937
    @bobby3937 3 ปีที่แล้ว +1

    What a clean and neat explanation superb keep doing this type of videos more and more.🤝

  • @happylearningtricks
    @happylearningtricks ปีที่แล้ว

    Thanks nana, the best channel in entire youtube ⭐⭐⭐⭐⭐🤩

  • @marsilya55
    @marsilya55 4 ปีที่แล้ว +2

    Hi Nana, very good video. I've really appreciated the way you explain; very clear, piece by piece and so.

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Thank you, very happy to hear that! Would appreciate if you share my videos, if you think they are helpful :)

  • @w09q
    @w09q 4 ปีที่แล้ว +1

    Very specific and to the point, all building blocks explained in pretty simple and practical way. Thank you

  • @maksimotrishko8843
    @maksimotrishko8843 4 ปีที่แล้ว +6

    Hi Nana, first of all thank you a lot for such great videos and clear explanations! I would like to pay attention to small nuance at 7:11. It was a bit confusing for me (and may be for somebody else) since actually for a service it is only important to have values from Pod's labels and NOT Deployment. So as an example: label for Deployment might be i.e. nginx and for its pod i.e. nginx1. And in this case a service should have value nginx1 in selectors and not nginx to be able to serve to the pod.

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Thank you for your feedback Maksim!

    • @masumraja1693
      @masumraja1693 2 ปีที่แล้ว

      Hi Nana I learned lot about cluster from you session thank you soomuch 💕

  • @niknaknel07
    @niknaknel07 3 ปีที่แล้ว +5

    omg you are amazing! This is gonna make my new job a lot easier. Thank you!

    • @TechWorldwithNana
      @TechWorldwithNana  3 ปีที่แล้ว +1

      I'm happy to hear! Wish you all the best at your new job 😊

  • @baarathsrinivasan2880
    @baarathsrinivasan2880 4 ปีที่แล้ว

    your videos are good .. its quite crisp and informative ...

  • @mccoxall
    @mccoxall 3 ปีที่แล้ว +1

    Thanks for excellent set of tutorials.

  • @karthikdhanusu
    @karthikdhanusu 4 ปีที่แล้ว

    I am following your K8 contents it is really great for beginners.. Keep going

  • @DENSZWILL
    @DENSZWILL 4 ปีที่แล้ว +1

    Thank you. Your videos are awesome and very informative.

  • @bulandawaaz2005
    @bulandawaaz2005 3 ปีที่แล้ว

    Thanks watched most of tour K8 videos very nicely explained

  • @VikasSingh84527
    @VikasSingh84527 3 ปีที่แล้ว

    Thank you Nana for these informative and super helpful videos. Keep up the good work

  • @SasidaranS
    @SasidaranS 2 ปีที่แล้ว +1

    Thanks for the detailed and simple explanations

  • @songjeff3966
    @songjeff3966 4 ปีที่แล้ว +2

    Great job! Very clear and concise explanations!

  • @saravanankerberos1899
    @saravanankerberos1899 4 ปีที่แล้ว +2

    Love ur teaching as always Nana.my best wishes.

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Thanks Saravanan! Happy you like my way of teaching!

  • @KohliTendulkar
    @KohliTendulkar 3 ปีที่แล้ว +1

    This is awesome and Incredible. you have really made a somewhat complex concept so easy to understand!!! THANK YOU

  • @AssyrianMuscle
    @AssyrianMuscle 3 ปีที่แล้ว +1

    your videos are straight gold! thank you

  • @sherrytabari7538
    @sherrytabari7538 3 ปีที่แล้ว

    Very useful tutorial. very professional Thank you Nana

  • @jvm-tv
    @jvm-tv 4 ปีที่แล้ว +1

    Great video. nice and clear without fluff.

  • @renatobertolaccini3242
    @renatobertolaccini3242 4 ปีที่แล้ว +1

    Thank you Nana. You are amazing!!!

  • @adityabansal2737
    @adityabansal2737 ปีที่แล้ว

    I like your voice, ...and definitely the video is brilliant

  • @muhammadsubhan8333
    @muhammadsubhan8333 4 ปีที่แล้ว +1

    Brilliant , very well explained. Thank you so much.

  • @nmrkmsis2000
    @nmrkmsis2000 4 ปีที่แล้ว +2

    By far the best video I come across. Your teaching skills and knowledge of the subject are simply marvelous. I want you to make one tutorial for me on how to pass environment variables using docker and Kubernetes. I don't know whether you have covered Kubernetes Secrets as well. Thank you so much for this wonderful video content.

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +1

      Thank you. I appreciate your positive feedback very much! Yes, cover exactly that here in this video for both configMap and secret: th-cam.com/video/EQNO_kM96Mo/w-d-xo.html :)

  • @ashishjayan7559
    @ashishjayan7559 4 ปีที่แล้ว +2

    Nana you are awesome :) The visual learning is cool

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +1

      Thank you Ashish! I think with visuals it's so much easier to understand complex concepts 🙂

  • @ravikiranbangera8185
    @ravikiranbangera8185 ปีที่แล้ว

    Loads of accolades and thanks from India 🙂

  • @wardsworld
    @wardsworld 4 ปีที่แล้ว +7

    Thanks for this amazing video! I watched quite a few videos about k8s, helm, etc, but always got lost with the different keywords, what's required/optional. It's actually logical and simple thanks to your explanation. Subscribed, keep sharing! :)

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Awesome to hear such positive feedback. Thanks and welcome to the channel 😊

  • @karthichu
    @karthichu 3 ปีที่แล้ว

    Simply awesome. You made it very clear

  • @adamzachary6947
    @adamzachary6947 4 ปีที่แล้ว +1

    Awesome tutorial :)
    Keep up the good work 😊

  • @chroniclesofj
    @chroniclesofj 5 ปีที่แล้ว +8

    At 12:02 if you use the flag “-export” it will not include most of the generated status data when outputting to the YAML

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Thanks for sharing! 👍

    • @maksimotrishko8843
      @maksimotrishko8843 4 ปีที่แล้ว

      This option is not available since 1.19.0. (here is the link for details github.com/kubernetes/kubernetes/pull/73787#issuecomment-683832518)

  • @charleskangai4618
    @charleskangai4618 4 ปีที่แล้ว +1

    Thanks Nana. Very helpful.

  • @jawandsingh1464
    @jawandsingh1464 3 ปีที่แล้ว +1

    Thanks a lot, I could never get to understand these YAML files.

  • @explorgood
    @explorgood 4 ปีที่แล้ว +1

    Clear explanation...!!! thanks a lot, it's very useful...!!!

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Thank you Sumit, happy to hear it's helpful :)

  • @pareshpatel493
    @pareshpatel493 4 ปีที่แล้ว

    Great video. I love you lot. Keep it up. God bless you.

  • @Aafiathefirst
    @Aafiathefirst 3 ปีที่แล้ว

    Great and you are boon to us, keep rocking

  • @Amit-qv8cp
    @Amit-qv8cp 8 หลายเดือนก่อน

    Amazing explanation of deployment and services. Stateful and stateless 😅

  • @urbansaints
    @urbansaints 4 ปีที่แล้ว +1

    Explaination very clear.

  • @sumkumar81
    @sumkumar81 4 ปีที่แล้ว +1

    really liked the video. it was quick and interesting. thanks for sharing.

  • @davidwu1907
    @davidwu1907 4 ปีที่แล้ว +1

    a wonderful lesson.

  • @sambines3463
    @sambines3463 4 ปีที่แล้ว +1

    Great video thanks, not enough of this online.

  • @renatoosousa
    @renatoosousa 3 ปีที่แล้ว

    thanks for clarifying it for me. Nice work.

  • @garvisrobot9274
    @garvisrobot9274 ปีที่แล้ว

    Nice video. Thank you for creating it.

  • @imanhn
    @imanhn 4 ปีที่แล้ว +1

    Great video, Well explained and well organized. 👍

  • @venkatthimmappa785
    @venkatthimmappa785 4 ปีที่แล้ว +1

    ecxellent information. keep rocking

  • @tommsla123
    @tommsla123 4 ปีที่แล้ว

    Hi. Thanks for your video. It's very helpful

  • @ShyamHazari
    @ShyamHazari 4 ปีที่แล้ว +1

    Excellent tutorial. Thank you for sharing

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Thanks Yezdi, happy to hear! If you think this would be helpful for others at well, please share my videos :)

  • @aproperhooligan5950
    @aproperhooligan5950 3 ปีที่แล้ว +1

    You rock, Nana!

  • @Ramesh140789
    @Ramesh140789 4 ปีที่แล้ว +3

    I’m a software developer.. I started learning devops because the devops guy from our teem went for vacation and i need to do some patch up work all though it’s not urgent but I’m interested to do .. let’s break the prod server 😂

  • @gowthamchandaka7409
    @gowthamchandaka7409 2 ปีที่แล้ว

    you have great voice Nana

  • @kattaanilkumar7901
    @kattaanilkumar7901 2 ปีที่แล้ว

    👍Great explanation

  • @marwanghabin8758
    @marwanghabin8758 4 ปีที่แล้ว +1

    very well explained , Thank you

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Thank you for your feedback, glad you liked it :)

  • @TcheloJG
    @TcheloJG 4 ปีที่แล้ว +1

    Thanks! It helped me a lot.

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      You're welcome Marcelo, glad I could help you with this video :)

  • @franchise2570
    @franchise2570 ปีที่แล้ว

    Thank you so much Nana! 😀

  • @siddeshmundhe6536
    @siddeshmundhe6536 5 ปีที่แล้ว +4

    @ Nana...I follow ur videos...they are great and helpful
    Can u do one video with Prometheus monitoring?

  • @sagnikmukh
    @sagnikmukh 4 ปีที่แล้ว +1

    Thanks for the beautiful video

  • @engineervoice6190
    @engineervoice6190 4 ปีที่แล้ว +1

    Your Videos are really nice i have learned so many things about kubernetes . And if you know about terraform please make some videos for that and also GCP IaaS - Governance, Network, Security, Identity, Compute, Storage, Backup & DR, Monitoring and Automation

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Woah that are many suggestions, thank you! Took a note and will consider them for sure 👍

  • @turalaliyev6288
    @turalaliyev6288 3 ปีที่แล้ว +1

    Nana thank you very much. I think you should make videos for Udemy. Really great videos.

  • @officialismailshah
    @officialismailshah 2 ปีที่แล้ว

    Great work ❤️❤️❤️

  • @anandhu5082
    @anandhu5082 3 ปีที่แล้ว +1

    6:58.. That was confusing,, Why does the deployment need selector to identify its pods?! Why doesn’t the deployment automatically match the pod it’s deploying?