Kubernetes Services explained | ClusterIP vs NodePort vs LoadBalancer vs Headless Service

Sdílet
Vložit
  • čas přidán 20. 05. 2024
  • Complete Overview of Kubernetes Services | Kubernetes Services Types explained: ClusterIP vs NodePort vs LoadBalancer vs Headless Service vs Multi-Port
    ► Thanks Cockroach Labs for sponsoring this video! 🙌🏼
    ► Check out CockroachDB - a relational database for next generation, cloud-native applications www.cockroachlabs.com/product/
    In this video I will give you a complete overview of Kubernetes Services:
    First I explain shortly what Service component is in Kubernetes and when we need it and then I’ll go through the different Service types:
    * ClusterIP Service
    * Multi-Port Service
    * Headless Service
    * NodePort and LoadBalancer Service
    I will explain the differences between them and when to use which.
    So by the end of the video you’ll have a great understanding of K8s Services and will be able to use them in practice
    #kubernetes #kubernetesservices #techworldwithnana
    ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
    0:00 - Intro
    00:33 - What is a Service in Kubernetes and when we need Kubernetes Service component?
    02:10 - ClusterIP Services
    06:30 - Service Communication: selectors, labels and ports
    09:27 - Service Endpoints
    09:59 - Service Communication: port vs targetPort
    11:31 - Multi-Port Services
    12:58 - Headless Services
    18:28 - NodePort Services
    21:22 - LoadBalancer Services
    23:18 - Wrap Up
    ▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
    Full Kubernetes and Docker tutorial ► bit.ly/2YGeRp9
    DevOps Tools, like Terraform, Prometheus ► bit.ly/2W9UEq6
    Jenkins Pipeline Tutorials ► bit.ly/2Wunx08
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    Join private Facebook group ► bit.ly/32UVSZP
    DEV ► bit.ly/3h2fqiO
    INSTAGRAM ► bit.ly/2F3LXYJ
    TWITTER ► bit.ly/3i54PUB
    LINKEDIN ► bit.ly/3hWOLVT
    ▬▬▬▬▬▬ Courses & Bootcamp & Ebooks 🚀 ▬▬▬▬▬▬
    ► Become a DevOps Engineer - full educational program 👉🏼 bit.ly/45mXaer
    ► High-Quality and Hands-On Courses 👉🏼 bit.ly/3BNS8Kv
    ► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 bit.ly/3Ozl28x

Komentáře • 531

  • @TechWorldwithNana
    @TechWorldwithNana  Před 3 lety +71

    ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
    0:00 - Intro
    00:33 - What is a Service in Kubernetes and when we need Kubernetes Service component?
    02:10 - ClusterIP Services
    06:30 - Service Communication: selectors, labels and ports
    09:27 - Service Endpoints
    09:59 - Service Communication: port vs targetPort
    11:31 - Multi-Port Services
    12:58 - Headless Services
    18:28 - NodePort Services
    21:22 - LoadBalancer Services
    23:18 - Wrap Up
    If you liked the video, please leave a thumbs up and subscribe for more content :)

    • @samboy05
      @samboy05 Před 3 lety

      Thanks for the great content, I have an open question - How does the ClusterIp decide which replica to forward the request to? Is it always random? can we change it to a different algorithm?

    • @hpibmsun
      @hpibmsun Před 3 lety +2

      I am chinese,UNIX/HA/STORAGE admin in canada, your video is great! your video is better than any training center in china!!

    • @jkumar988
      @jkumar988 Před 2 lety

      It's really amazing 🙏

    • @VR-cr9wn
      @VR-cr9wn Před 2 lety

      Thanks a ton Nana. This video has helped me understand the concept more clearly and clear up confusions I had.

    • @VR-cr9wn
      @VR-cr9wn Před 2 lety

      How many service endpoints or objects of each type can be present in a k8s cluster? Can a pod be part of multiple service endpoints?

  • @MaccaBeats
    @MaccaBeats Před rokem +21

    this is one of the rare moments (it's the second one for now!) i get to appreciate what a gift having free internet access is. your videos are simply amazing and i can't thank you enough for what you're doing!

  • @RiteshAgarwalGwalior
    @RiteshAgarwalGwalior Před 2 lety +88

    Nobody can explain Kubernetes better than you! Even a child could understand it. Thanks for sharing such wonderful stuffs.

  • @marksheard1210
    @marksheard1210 Před 2 měsíci +1

    3 year later and still relevant today. Thank you Nan, you really do spend time elaborating
    and explaining each part in an easy understandable way.

  • @rmagnum2002
    @rmagnum2002 Před 3 lety +7

    "ClusterIp service type selector will look for pods that matches ALL labels, not just one" - the key to my issues running my app locally in kubernetes with minikube. Thank you!

  • @TheTera110
    @TheTera110 Před 2 lety +1

    I usually don't comment on videos at all, but I feel the need to give thanks to you Nana. Great video with great, precise explanations. You're helping out the community a lot. Keep it up!

  • @user-ij2mg2wv5b
    @user-ij2mg2wv5b Před 10 měsíci +6

    This was absolutely fantastic - some of the most complicated concepts explained in a matter of mins.. you are a superstar

  • @nipunsharma1945
    @nipunsharma1945 Před 3 lety +21

    I am so lucky that I watched your full playlist first, before any other kinds of stuff. You have imprinted the concepts with a wonderful depiction in my mind, forever.

  • @prajwalgmpp
    @prajwalgmpp Před 10 měsíci +2

    Everytime I watch this, I will drop a comment so that it will raise through the algo ranking. Nana deserves it

  • @gillianbc
    @gillianbc Před 9 měsíci

    Nana, k8s services is an area I've really struggled to understand for the last 2 years and now I finally get it - especially with all the various ports. Thank you for such a comprehensive video with such clear pictures and examples.

  • @cemkizil7599
    @cemkizil7599 Před 3 lety +37

    I don't remember watching a technical video with such joy.
    It was truly incredible and wonderful. I love it!
    Please never stop!

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety +2

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

  • @umakantmis833
    @umakantmis833 Před 9 měsíci

    Excellent, easily explained step by step everything. Fantastic.

  • @kenmurphy4259
    @kenmurphy4259 Před 3 lety +2

    Absolutely brilliant explanation and cleared up a lot of things for me, excellent content thanks Nana

  • @user-qu3qo9ts7h
    @user-qu3qo9ts7h Před 6 dny

    Very well articulated! Learnt a ton by going through this playlist! Thank you!

  • @marwanghabin8758
    @marwanghabin8758 Před 3 lety +5

    this video came in time , I was creating a microservice and needed to access from outside but not been public on the internet, I found the sol in your explaination , Thanks a lot Nana for this awsome effort

  • @vks4203
    @vks4203 Před 2 lety

    Thanks and appreciate all the efforts gone into along this video and all other video . Being into test automation - your videos are adding great value and knowledge source for me .

  • @hkmehandiratta
    @hkmehandiratta Před 2 lety +1

    Excellent tutorail..... I took 50+ pauses to grasp this ocean of knowledge.

  • @virabadrasana
    @virabadrasana Před 2 lety

    What a brilliant, lucid explanation. Top class presentation, thank you!

  • @govindatupkar8107
    @govindatupkar8107 Před 2 lety

    It was truly incredible and wonderful. I love it!
    Absolutely brilliant explanation and cleared up a lot of things for me, excellent content thanks Nana

  • @tmiller673
    @tmiller673 Před 2 lety

    Thanks for finally making Kubernetes and IaC make sense to me. It's always just been a jumble of 'stuff' and the BIG PICTURE with a drill down really helps.

  • @nishantkansal3719
    @nishantkansal3719 Před 3 lety +2

    Speechless, Awesome, Marvelous, Excellent, Bingo, I don't have words to say for your teaching style. God bless you and keep it up.

  • @Nizragore
    @Nizragore Před 8 měsíci

    this is as clear as it's gonna get, thank you

  • @hareeshhari1601
    @hareeshhari1601 Před 3 lety +5

    You speak what the listener wants! Stunning display of content. Struggling with this concepts from quite a long. Thank You!

  • @thb9904
    @thb9904 Před 3 lety +1

    Thank you for creating this video, Nana! It is clear and to the point!

  • @2sourcerer
    @2sourcerer Před 2 lety

    I've been configuring my cluster following other tutorials and lectures with I having half-baked understanding and some fiddling to get things work. And these clusterPort, nodePort, servicePort, targetPort gibberish have have me Googling all over and are driving me nuts. At nowhere else do I obtain a state of clarify that is the experience I obtained from watching this video. Just wow. This video may not be meant for a complete newbie to try to get things to work, but it does give me an overarching overview and understanding of how things work after I have some basic understanding. It is godsent. Thank you so much Nana.

  • @meghakadur8373
    @meghakadur8373 Před 2 lety

    Love your Technical videos, you explain things in such a meaningful way. Topics that are difficult to understand you make it easier to grasp them. Thank you for such great explanation.

  • @Sid-sl3xk
    @Sid-sl3xk Před 3 lety

    Wow! Never seen such a crisp and easy explanation of k8s concepts. Thank you so much. Please keep making such excellent videos.

  • @shuvra03
    @shuvra03 Před 8 měsíci

    I am a great fan of you. Your way of explaining technical stuffs is phenomenal

  • @hamidsafe438
    @hamidsafe438 Před 3 lety

    Can't thank you enough, the clarity in this video is superb.

  • @landung1623
    @landung1623 Před 3 lety +2

    Nana, your videos are fantastic! I've learned a lot from them!

  • @5540Mohammed
    @5540Mohammed Před 2 lety

    Well done. One of the best tutorials I’ve seen for a while. Great stuff 👏

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

    I've been semi-exposed to Kubernetes and its concepts for 5+ years now and was still plenty confused on many of the concepts. This video is by far the simplest explanation of these concepts that I've come across. Well done!

  • @jmmtechnology4539
    @jmmtechnology4539 Před rokem +1

    Best tutorial I've seen on Kubernetes in a long time - Thanks for the explanation!

  • @viswanathn9156
    @viswanathn9156 Před 3 lety +1

    Fantastic explaination, God has gifted you with tons of patience -:) to explain slowly and in crisp clear manner. Thank you very much, am sure lot of people like me will benefit with this knowledge.

  • @codycurnutte7084
    @codycurnutte7084 Před 3 lety +9

    So I have been working as the lead guy on our team for converting our cloud deployment from Docker Swarm to K8s for a while now. I have taken courses and have even put this stuff into practice but just now finally got a clear understanding of all of the innerworkings of node port vs load balancer. You were able to get me over that hump in 20 mins when a three day course couldnt. Bravo to you.

    • @rahulsingh-iq4gd
      @rahulsingh-iq4gd Před rokem

      How the pod communicate with backend pod ??

    • @shuaibpantnagar
      @shuaibpantnagar Před rokem

      @@rahulsingh-iq4gd you mean to say how front end pod communicates with backend pod ? If yes, you can either use a service url that is internal or gateway url (nginx/ application gateway)

  • @SimonTaylorUK
    @SimonTaylorUK Před 3 lety +14

    Great combination of concise language and clear graphics. Helping me get up the k8s learning curve quickly! Great job.

  • @MichaelPechner
    @MichaelPechner Před 2 lety

    Thank you. Was setting up ingress as nodeport, but also nginx as node port. This and your ingress video cleared up this mess. Life is good.

  • @happylearningtricks
    @happylearningtricks Před rokem +3

    The visuals you included really helped me grasp the concepts. Seeing the different components and how they relate to each other made it easier to understand how services fit into the larger Kubernetes ecosystem - thank you @Nana

  • @antonalekseyev9651
    @antonalekseyev9651 Před 3 lety +1

    This is the most useful video regarding kubernetes services exposure I've found

  • @madyYON
    @madyYON Před 3 lety +1

    you are just amazing Nana ! you saved me days with this .. brilliant !

  • @brianshanahan3878
    @brianshanahan3878 Před 3 lety +1

    Your videos and explanations are EXCELLENT. I especially like the graphics and animations!!!

  • @SunilKumar-jf6qq
    @SunilKumar-jf6qq Před 11 měsíci

    Thanks Nana for clear the concept of service in kubernates!!!

  • @csvidzz
    @csvidzz Před 2 lety +21

    I'm not a DevOps enginner, I am a software engineering but passionate about DevOps.
    I can surely say that your tutorials are the best out there and real life examples about it. Thank you a lot for these! 🙏

    • @rbsood
      @rbsood Před rokem +1

      same here :)

  • @bencebarboza3826
    @bencebarboza3826 Před 3 lety +1

    very detailed, logical and understandable piece.
    it is not the first video of yours about Kubernetes which I watched and made everything clear for me

  • @gopikrishna7779
    @gopikrishna7779 Před rokem

    For So many days, I had a doubt on Cluster IP.
    Today I got the clear picture on Cluster IP and Node Port. Thank you Nana
    You are my new Kubernetes Guru.

  • @hansjzeller
    @hansjzeller Před rokem

    Thanks very much, very clear explanation of this complex topic! Your video is much easier to understand than the official documentation!

  • @deepdeep4629
    @deepdeep4629 Před 2 lety

    So far the best tuto ever made in this world !! thank you so much for this video, it's so clear and very helpful.
    Thank you Nana.

  • @soodankit
    @soodankit Před rokem

    Thank you for Docker and k8s series. I've shared the same with my friends and my colleagues, all of us have been benefited by your content.

  • @sf2998
    @sf2998 Před 3 lety +1

    your diagrams helped to clarify everything. thank u

  • @MrspujaB
    @MrspujaB Před 2 lety

    What a superb explanation Nana !! All your videos have an excellent content and the way you teach makes it very easy to understand. Thanks a ton !! Keep going ....

  • @bouzie8000
    @bouzie8000 Před 2 lety

    Very excellent video. I usually don't subscribe to tech junkies: I just watch the videos, scramble for the almost indecipherable information and move on. But your information pour is so clear and crisp so I need more. Subscribed!

  • @nparsona
    @nparsona Před 3 lety +1

    This is so much clearer than the majority of the videos that are out there. Excellent job,

  • @ajaymeda1891
    @ajaymeda1891 Před 2 lety

    Not sure who are the people who disliked this video but this is the best explanation for Kubernetes Service that you can find - maybe even better than the official documentation.

  • @rohsin47
    @rohsin47 Před 2 lety

    So complex but explained so beautiful. Great thanks !

  • @devengengan4270
    @devengengan4270 Před 3 lety +1

    Very well explained, thanks for putting together this awesome content Nana 🙏

  • @pramodknable
    @pramodknable Před 7 měsíci

    Love ur videos. It's amazing how u make even the most complex of concepts really simple.

  • @virendraashiwal8311
    @virendraashiwal8311 Před 3 lety

    Very well explained the whole Service concept! Thank you very much for making such videos.

  • @vakariqbal9067
    @vakariqbal9067 Před 3 lety +2

    Nana that''s so awesome .Such an amazing way to explain these concepts and makes it so simple for us to understand.Absolutely love it .Much love and thanks

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety +1

      That's amazing to hear! Thank you so much for your comment 😊

  • @bshn
    @bshn Před 3 lety

    Thank you for these video tutorials - very helpful!

  • @junli3714
    @junli3714 Před 3 lety

    Very nice presentation, very clear. I confused with ClusterIP, NodePort and LB for a long time even after reading quite a lot document until I watch this video. Thank you !

  • @prasannaraj584
    @prasannaraj584 Před 2 lety

    That was crystal clear, Nana....
    Thank you....

  • @itshgirish
    @itshgirish Před 2 lety

    Wow, i tried couple of other long videos on the same topic and left confused. I see this vid and i'm like, was it so simple! Well its rather your approach...explanation with graphics is the perfect approach to simply any complex topic. Amazing teacher you are!

  • @viniciussantosaguiar9543

    Great video, congratulations! Continue with this wonderful and high quality work!

  • @levimatheri7682
    @levimatheri7682 Před rokem +1

    You make it so easy to understand! Thank you!

  • @1208ganesh
    @1208ganesh Před 3 lety

    All my questions and confusion have cleared. Thanks a lot!

  • @Alestrix76
    @Alestrix76 Před 21 dnem

    I would love to see a video about all the used subnets (Nodes, Pods/Containers, Services, Ingress, LoadBalancer) and how routing and/or access to them works. I constantly get confused about it (especially when I try to understand it on layer 2)

  • @ankushdeshmukh1679
    @ankushdeshmukh1679 Před 3 lety +4

    I was looking for this topic. Got it. Thanks for posting valuable content. Your videos are so clean and clear. Liked it.

  • @detach8
    @detach8 Před 2 lety +2

    Nana, thank you for this. I had to learn all these in a hurry to get up to speed on a job and your explanations are the clearest I have come across. Keep the videos coming!

  • @stuartgoss
    @stuartgoss Před 3 lety

    Great video! Well explained concepts. Thanks for this!

  • @akshatagawade4366
    @akshatagawade4366 Před 5 měsíci

    Thanks every much for these videos' its very hard to find something explained so well online.

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

    I'm Brazilian and I'm starting to study Kubernetes because of work, and the only video I could understand was this one even though it was in another language. I'm happy to know that my English is good and that it really pays off to study English for the technology market. And congratulations on the video explaining the ball show!

  • @MrArunkumc
    @MrArunkumc Před 9 měsíci

    Awesome explanation. Loved it.

  • @koppuprasanthkumar9211

    well done, smooth and crystal clear..thank you sooo much

  • @redjohn933
    @redjohn933 Před 2 lety +1

    Great explanation, you've given me a better understanding of k8s services. Keep up the good work.

  • @FaridHaq
    @FaridHaq Před 3 lety

    very complex things you explained very easily. thank you so much for your hard work.

  • @VittorioMilazzo
    @VittorioMilazzo Před 3 lety

    Your tutorials are awesome and very helpful! Thanks to share it!

  • @kpravin007
    @kpravin007 Před 2 lety

    I was looking for a video with this kind of explanation. Thank you for clearing lot of my doubts.

  • @sharma2494
    @sharma2494 Před rokem +1

    This is one of the best learning platform for learning Kubernetes 👋👋

  • @arpanchakraborty9874
    @arpanchakraborty9874 Před 3 lety +2

    Great insight, best thing was how you linked all the service types with one another. Thanks a lot.

  • @jnsridhar
    @jnsridhar Před 11 měsíci +1

    It was very clear to understand. Every piece of it is well explained.

  • @biswaranjansahoo9741
    @biswaranjansahoo9741 Před 3 lety

    Excellent presentation, clear and concise. Thank you

  • @georgesngandeu9115
    @georgesngandeu9115 Před rokem

    Thank you Nana, you are gifted no doubt. 👌

  • @maibhiyoutuber3575
    @maibhiyoutuber3575 Před rokem +1

    This is best video I have seen for k8 services, please please continue the good work. Big fan of you Nana 🎉

  • @mrmithungarg
    @mrmithungarg Před 2 lety +1

    This is awesome explanation of service.. thank you so much

  • @mehditorkamani9890
    @mehditorkamani9890 Před 3 lety +3

    It was just wonderful. Thank you! Graphics helped a lot.

  • @vin2629
    @vin2629 Před rokem

    So much information in this video. These kind of videos are useful for quick learning. Thanks

  • @mikhailkulak3203
    @mikhailkulak3203 Před 3 lety

    I have rabbitmq and many time thought how to test mq service from outside of cluster and the same time inside. Every time i used port-forward manually. Now all became clear, thx, Nana:)

  • @thepopeut
    @thepopeut Před rokem

    Thank you so much for this video. This was very helpful to clear up some confusion I was facing

  • @-long-
    @-long- Před 3 lety +6

    If teaching is an art, you're an excellent artist

  • @colinrickels201
    @colinrickels201 Před 3 lety

    dude this is fantastic! Best description seen so far. Personally I think the headless description was bit long considering its not a hot topic but I skipped little ahead to the service types and the descriptions and animations are great.

  • @rajhansshere7094
    @rajhansshere7094 Před rokem

    Thank you for this explanation… I am network engineer who works on Cisco aci piece but this helps me understand how end to end traffic flows exactly inside cluster till application

  • @techgalary
    @techgalary Před 2 lety

    Thank for creating such a great content with very simple explanation, I would recommend this video to my colleagues to watch

  • @AnantaAkash.Podder
    @AnantaAkash.Podder Před měsícem

    By far the Best Explanation ever... Thank you Mam...😊

  • @TheMusicDagger
    @TheMusicDagger Před 3 lety

    The best video so far which I found to understand services, @Nana you are amazing ! Thank you so much !

  • @zameerahmed1775
    @zameerahmed1775 Před 3 lety

    It's a wonderful video relevant to K8.
    Clears concepts

  • @avatalavenkatprasadreddy5094

    Cleared all my doubts thank you so much nana 👏

  • @aaronjameshorne
    @aaronjameshorne Před 2 lety

    Ive just started learning much more on devops and sre and subbed. these videos are great at explaining in my opinion.

  • @mateomatta2381
    @mateomatta2381 Před 6 měsíci

    These videos are great!! You explain incredibly. Salutes from Colombia!!

  • @youtubeoneverything4581

    thanks. It was a clear explanation, specially how diff. services work together

  • @connectromil
    @connectromil Před 2 lety +1

    Beautiful explanation I have seen multiple videos not single explains in such details and provide the clarity